Re: Rewrite Rules, SSL, and .htaccess

From: Wallwork, Nathan (nwallwo_at_pnm.com)
Date: 03/25/04

  • Next message: Peter H. Lemieux: "Re: Rewrite Rules, SSL, and .htaccess"
    Date: Thu, 25 Mar 2004 09:35:17 -0700 (MST)
    To: davec <davec@webpipe.net>
    
    

    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.


  • Next message: Peter H. Lemieux: "Re: Rewrite Rules, SSL, and .htaccess"