httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
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
<harald.falkenberg@desy.de> 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
covener@gmail.com

---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message