I need to exclude protection on one of the folder inside a protected directory with .htaccess I put .htaccess in here:/home/mysite/public_html/new/administrator/.htaccessThe directory need to be exclude from protection:/home/mysite/public_html/new/administrator/components/com_phocagallery/My .htaccess file :AuthUserFile /home/mysite/.htpasswds/public_html/new/administrator/passwdAuthType BasicAuthName adminrequire valid-userSetEnvIf Request_URI (/components/com_phocagallery/)$ allowOrder allow,denyAllow from env=allowSatisfy anyI tried but not working on my purpose. I suspect my path to the excluded directory may have some mistakes.
Exclude a sub directory in a protected directory
htaccess