Tagged Questions
2
votes
2answers
272 views
CentOS Apache: basic auth returning 403 instead of 401
I have three dirs in /var/www/html, one of them has .htacces with following:
Order Allow, Deny
Allow from all
AuthUserFile /var/www/.htpasswd
AuthGroupFile /dev/null
AuthName 'lalalal'
AuthType Basic
...
0
votes
1answer
477 views
How to exclude a specific URL from basic authentication in Apache?
Two scenarios:
Directory
I want my entire server to be password-protected, so I included this directory config in my sites-enabled/000-default:
<Directory />
Options FollowSymLinks
...