Question

I set some htaccess with htpasswd on my server. Here is it's content:

Order Allow,Deny
AuthType Basic
AuthName "Password"
AuthUserFile /var/www/.htpasswd
Require valid-user
Satisfy Any

It works for all /var/www/* directories.

Is it possible to ignore some of that /var/www/* directories ?

Was it helpful?

Solution

You can place those directives in a <Directory> directive, so they only apply to one directory.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top