I am working on an upcoming project, but the team needs to access it online. I have installed (for now) basic authentication using:
<Directory /var/www/html> AuthType Basic AuthName "Staging" AuthUserFile /etc/passwd Require valid-user </Directory>
But I need one file to be publicly available (a third-party service must ping, but cannot handle basic authentication. Is it possible to "disable" authentication for a specific file ("specific-file". PHP ")?
I was learning:
<Files "/var/www/html/specific-file.php"> ### SOMETHING </Files>
but itβs not clear to me how to disable protection.
Thanks!
authentication apache2
Michael T. Smith
source share