I need to exclude protection on one of the folder inside a protected directory with .htaccess
I put .htaccess in here:
The directory need to be exclude from protection:
My .htaccess file :
AuthUserFile "/home/mysite/.htpasswds/public_html/new/administrator/passwd" AuthType Basic AuthName "admin" require valid-user SetEnvIf Request_URI "(/components/com_phocagallery/)$" allow Order allow,deny Allow from env=allow Satisfy any
I tried but not working on my purpose. I suspect my path to the excluded directory may have some mistakes.