How to ignore some directory in htpasswd?
문제
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 ?
해결책
You can place those directives in a <Directory>
directive, so they only apply to one directory.
제휴하지 않습니다 StackOverflow