I want to exclude a specific file from authentication. e.g host: test.com. I want to exclude test.com/unsecure.php
This is my .htaccess
AuthType Basic
AuthName "TEST"
AuthUserFile /var/www/vhosts/TEST/.htpasswd
Require valid-user
I want to exclude a specific file from authentication. e.g host: test.com. I want to exclude test.com/unsecure.php
This is my .htaccess
AuthType Basic
AuthName "TEST"
AuthUserFile /var/www/vhosts/TEST/.htpasswd
Require valid-user
Got it now. Thanks
AuthType Basic
AuthName "TEST"
AuthUserFile /var/www/vhosts/TEST/.htpasswd
Require valid-user
<Files "unsecure.php">
Satisfy Any
Allow from all
</Files>