I'm working on an upcoming project, but the team needs to access it online. I've setup (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 publically accessible (a 3rd party service needs to ping it, but can't handle Basic Authentication. Is it possible to "turn off" authentication for a specific file ("specific-file.php")?
I was looking into:
<Files "/var/www/html/specific-file.php">
### SOMETHING
</Files>
but it is not clear to me how to disable the protection.
Thanks!