stop htaccess propagation

Discussion in 'Server Operation' started by mythgard, Dec 10, 2006.

  1. mythgard

    mythgard New Member

    How do I make an htaccess file for auth not propagate to the sub-directories?

    I have a root directory /home/web and I have the defaule server placed there and all the other domains in /home/web/, etc. I have htaccess files in those web directories so I can use redirection, etc. How do I do this, I am sure there must be a way?
  2. falko

    falko Super Moderator ISPConfig Developer

    You can put something like
    <Directory /home/web/>
        Order allow,deny
        Deny from all
    into the vhost configuration of your main vhost for each subdirectory.

Share This Page