Assuming you are using virtual host containers, you should have separate
virtual host containers for http and https, just find the appropriate
virtual host container for the https site.

Are you placing the RewriteCond in the httpd.conf or .htaccess?



-----Original Message-----
From: Guy Speier [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 16, 2007 5:47 PM
To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] Re: https redirection

Thanks Eric, 

I still can't get this thing to work.  I think the problem is I still
want 
all http://www.foo.com to stay on www, but I want https://www.foo.com to
go 
to https://www2.foo.com 

Any suggestions or example you can show me?
Guy 


Eric DuToit writes: 

> Mod re-write is your friend: 
> 
> http://www.google.com/search?q=mod_rewrite 
> 
>  
> 
> -----Original Message-----
> From: Guy Speier [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, May 16, 2007 4:32 PM
> To: users@httpd.apache.org
> Subject: [EMAIL PROTECTED] https redirection 
> 
> Hello,  
> 
> How can I redirect users visiting my web site:
> https://www.foo.com/here to https://www2.foo.com/here  
> 
> thanks,
> Guy 
> 
> 
> ---------------------------------------------------------------------
> 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] 
> 
 


---------------------------------------------------------------------
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]


---------------------------------------------------------------------
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]

Reply via email to