httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stuart, Ed" <Ed.Stu...@austinenergy.com>
Subject RE: [users@httpd] Redirect Question
Date Thu, 13 Apr 2006 17:54:21 GMT
>
>	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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message