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"

    Relevant Pages

    • Constructing a port for local use
      ... I'm sure that someone here has tried this: Create a port which would ... only be installed on a local network as, for instance, an Apache ... virtual host. ...
      (comp.unix.bsd.freebsd.misc)
    • Re: Apache2 Manhattan Virtual Classroom
      ... community-based or community-supported distro. ... hiring a Debian consultant. ... You mention creating the virtual host configuration, ... output that shows the requests and how Apache is answering them. ...
      (Debian-User)
    • Re: Problem to have mod_auth_kerb to work
      ... apache but not for the virtual host. ... the kind of debug statement I get from apache: ... Integrated Windows Authentication was already ticked. ...
      (comp.protocols.kerberos)
    • Re: apache weird GET
      ... > That's why I said they may be port scans. ... Perhaps you've enabled ProxyRequests on a virtual host ... > The config file used is the one I edit, ...
      (RedHat)
    • Re: Apache and multiple Virtual Hosts best practices
      ... > I have an Apache web server with a few virtual hosts. ... If so your users can write scripts to bypass your proftp ... the same set of dirs that your proftpd users can write too. ... In a virtual host world different virtual host users can install ...
      (Fedora)