Re: [EMAIL PROTECTED] redirecting everything to ssl

2005-12-01 Thread Joshua Slive
On 12/1/05, Charlie Smith <[EMAIL PROTECTED]> wrote: > Isn't ip based hosts required for this as well? No, port-based vhosts are used. The configuration is essentially the same. Joshua. - The official User-To-User support forum

Re: [EMAIL PROTECTED] redirecting everything to ssl

2005-12-01 Thread Charlie Smith
Isn't ip based hosts required for this as well? >>> Joshua 12/01/05 11:56 AM >>> On 12/1/05, Rob Benton <[EMAIL PROTECTED]> wrote: > > RewriteCond %{HTTP_HOST} !^my\.site [NC] > RewriteCond %{HTTP_HOST} !^$ > RewriteCond %{SERVER_PORT} ^(80|443)$ > RewriteRule ^/(.*) https://my.site/$

Re: [EMAIL PROTECTED] redirecting everything to ssl

2005-12-01 Thread Joshua Slive
On 12/1/05, Rob Benton <[EMAIL PROTECTED]> wrote: > > RewriteCond %{HTTP_HOST} !^my\.site [NC] > RewriteCond %{HTTP_HOST} !^$ > RewriteCond %{SERVER_PORT} ^(80|443)$ > RewriteRule ^/(.*) https://my.site/$1 [L,R] > > That will direct all https:// traffic to the right hostname but trying

Re: [EMAIL PROTECTED] redirecting everything to ssl

2005-12-01 Thread Rob Benton
Olaf van der Spek wrote: On 11/30/05, Rob Benton <[EMAIL PROTECTED]> wrote: I've got a site on my intranet running with mod_ssl. This site used to run over plain http://. I'd like to redirect everyone trying to access the old address to the new address via https://. I tried just: Redirect pe

Re: [EMAIL PROTECTED] redirecting everything to ssl

2005-11-30 Thread Joshua Slive
On 11/30/05, Rob Benton <[EMAIL PROTECTED]> wrote: > I've got a site on my intranet running with mod_ssl. This site used to > run over plain http://. I'd like to redirect everyone trying to access > the old address to the new address via https://. > > I tried just: > Redirect permanent http://sit

Re: [EMAIL PROTECTED] redirecting everything to ssl

2005-11-30 Thread Olaf van der Spek
On 11/30/05, Rob Benton <[EMAIL PROTECTED]> wrote: > I've got a site on my intranet running with mod_ssl. This site used to > run over plain http://. I'd like to redirect everyone trying to access > the old address to the new address via https://. > > I tried just: > Redirect permanent http://sit

[EMAIL PROTECTED] redirecting everything to ssl

2005-11-30 Thread Rob Benton
I've got a site on my intranet running with mod_ssl. This site used to run over plain http://. I'd like to redirect everyone trying to access the old address to the new address via https://. I tried just: Redirect permanent http://site https://site but I get a 400 Bad Request error. I also