Answer the question
In order to leave comments, you need to log in
How to set exceptions in Apache HTTP Basic Authorization?
There is a site protected by HTTP authorization. It is necessary to disable the authorization requirement on the /role_* pages (that is, instead of an asterisk, the text follows, for example: role_viking or role_home). The user should be able to freely access these pages without entering a password and login.
The current configuration is something like this:
Options Indexes FollowSymLinks MultiViews
AllowOverride All
AuthName "Welcome to Wiki! Protected area, need authorization"
AuthUserFile /var/www/.passwords
AuthType Basic
Order allow,deny
Allow from all
Answer the question
In order to leave comments, you need to log in
Try to make your own .htaccess files with the content in the location data directories:
Order Deny,Allow
Allow from all
Something like this:
<LocationMatch "/role_*">
Satisfy any
Order allow, deny
Allow from all
</LocationMatch>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question