ServerName www.foo.com
[ ... ]
RewriteEngine On
RewriteRule ^/(.*)$ https://www1.foo.com/$1
[ ...]
:443>
ServerAlias www1.foo.com
[ ... ]
HTH
Gregor
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http:
[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
Have you tried looking at mod_alias and using the 'redirect' directive
inside your https://www. virtual host?
Please respond to users@httpd.apache.org
To: users@httpd.apache.org
cc: (bcc: Dan Mitton/YD/RWDOE)
Subject: [EMAIL PROTECTED] Re: https redirection
LSN: No
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: