website.com:8080 is set to require a password. However, I need website.com:8080/public to be accessible to anyone.
I found this example with Apache 2.3 which is exactly what I want, but I'm using 2.2 and AuthType None is not supported.
<Directory /www/docs>
AuthType Basic
AuthName Documents
AuthBasicProvider file
AuthUserFile /usr/local/apache/passwd/passwords
Require valid-user
</Directory>
<Directory /www/docs/public>
AuthType None
Require all granted
</Directory>
The "Satisfy any" means that the "Allow from all" will be sufficient, even without the "Require valid-user" being satisfied.