OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Rewrite Rules, SSL, and .htaccess

From: Wallwork, Nathan (nwallwopnm.com)
Date: Thu Mar 25 2004 - 10:35:17 CST


On Wed, 24 Mar 2004, davec wrote:
> <VirtualHost 192.168.3.7:80>
> Redirect / https://www.mydomain.com/
> </VirtualHost>

Add a line to the virtual host for port 80 that says
        AllowOverride None

This will keep Apache from applying any of the .htaccess controls
for tht http version.

This could be restricted to just blocking the particular overrides
that apply the requirement for username/password (AuthConfig, I think),
but the only real point of that virtual host is the redirect, so you
may as well block it all.