Overriding Apache auth directive
Posted
by Machine
on Server Fault
See other posts from Server Fault
or by Machine
Published on 2010-06-17T15:07:52Z
Indexed on
2010/06/17
15:13 UTC
Read the original article
Hit count: 252
Hi!
I'm trying to allow public access to a method that generates a WSDL-file for our API. The rest of the site is behind basic auth protection. Can you guys take a look at the following virtual-host configuration and see why the override does not take place?
<VirtualHost *:80>
ServerName xyz.mydomain.com
DocumentRoot /var/www/dev/public
<Directory /var/www/dev/public>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
SetEnv APPLICATION_ENV testing
</Directory>
<Location />
AuthName "XYZ Development Server"
AuthType Basic
AuthUserFile /etc/apache2/xyz.passwd
Require valid-user
</Location>
<Location /api/soap/wsdl>
Satisfy Any
allow from all
</Location>
</VirtualHost>
© Server Fault or respective owner