httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <>
Subject Re: [users@httpd] Redirection from http to https and sslrequiressl in .htaccess
Date Wed, 11 Feb 2009 16:31:42 GMT
On Wed, Feb 11, 2009 at 11:24 AM, Harald Falkenberg
<> wrote:
> Hi,
> I'm looking for a way to redirect parts of a url tree from a http talking
> virtual host to a https talking virtual host. RedirectMatch or ReWrite
> Rules work in principal, but I have also a .htaccess file with the rule
>        sslrequiressl
> rule on the non https vh server, which is checked before a redirect or
> rewrite rule starts its work. This is to prevent sending pws in clear
> text.

Don't use htaccess for things you really want restricted to a specific
virtualhost,  or don't share a directory in the filesystem with your
http vhost if you don't want to server it.
Eric Covener

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message