I do this on a location by location basis
<Location /loca>
Redirect seeother /loca https://www.yoursite.com/loca
</Location>
<Location /locb>
Redirect seeother /locb https://www.yoursite.com/locb
</Location>
This may fit your need without mod_rewrite
-----Original Message-----
From: CJ Kucera [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 05, 2002 12:40 PM
To: [EMAIL PROTECTED]
Subject: Re: Respond only to SSL requests?
On Fri, Apr 05, 2002 at 05:21:44PM +0200, Danalien wrote:
> I'm no expert, but thought of redirecting all http (port 80)
> to https (port 443)? Using the redirect (and or redirectmatch)
> directive(s), http://httpd.apache.org/docs/mod/mod_alias.html#redirect
>
> Something like,
>
> Redirect / https://www.yousite.com/
On Fri, Apr 05, 2002 at 07:12:12AM -0800, David Marshall wrote:
> I use an unsecured Virtual Host on my HTTP side and redirect all
> requests to
> HTTPS using a "Redirect seeother".
Hrm, yeah, I suppose something like that would work. I'd probably end
up using mod_rewrite instead, so that it'd match more than just "/".
Still, I'd prefer a cleaner version wherein HTTP traffic is just ignored
completely. Whatever. I'll just use a RewriteRule.
Thanks much for your help!
-CJ
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]