Yes, that should work.  But if you're using name-based virtual hosting, it would be best to put an actual IP in there (<VirtualHost xxx.xxx.xxx.xxx:80>) rather than wildcards.

Cheers,
Victor

On 4/13/06, Stuart, Ed <[EMAIL PROTECTED]> wrote:
>
>       If I'm reading this right, you could change <VirtualHost *> to
<VirtualHost *:80> and then have two >>>separate VirtualHost containers
, one listening for http and one for https (second one being
<VirtualHost *:443>), >ith the exact same Redirect.  Using mod_rewrite
may be a more elegant solution, though.

>       -Victor

Is this what you are suggesting?
TIA
Ed

<VirtualHost *:80>
ServerName test.appname.domain
ServerAlias *
Redirect permanent / https://testweb.domain/appname
</VirtualHost>

<VirtualHost *:443>
ServerName test.appname.domain
ServerAlias *
Redirect permanent / https://testweb.domain/appname
</VirtualHost>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
http://www.victortrac.com

Reply via email to