Answer the question
In order to leave comments, you need to log in
Apache2 site root password protected, how to make free access for url?
There is an Apache config that passwords the entire site:
<Location />
AuthType Basic
AuthName "Restricted access"
AuthUserFile /home/develop/htdocs/.htpasswd
#AuthUserFile /home/.htpasswd
Require valid-user
</Location>
<Location /foo/>
satisfy all
</Location>
<LocationMatch !.*/foo.*>
Order allow,deny
Allow from all
AuthType Basic
AuthName "Restricted access"
AuthUserFile /home/develop/htdocs/.htpasswd
Require valid-user
Satisfy all
</LocationMatch>
<LocationMatch .*/foo.*>
Order allow,deny
Allow from all
Satisfy any
</LocationMatch>
Answer the question
In order to leave comments, you need to log in
<Locaton /foo>
Order allow,deny (БЕЗ ПРОБЕЛА, МАТЬ ТВ*Ю)
Satisfy any
Allow from all
</Location>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question