Hello,

I want some authentication, but want to exclude a directory
Below is the virtual host:
Problem is that it wants to authenticate on everything in /var/www.

I did change the first Directory directive to /var/www/proxy1 but that did not change anything.

thanks,

Ron




Listen 81

<VirtualHost *:81>
DocumentRoot /var/www

#
# mod_auth_digest authentication
#
<Directory "/var/www">
  AuthType Digest
  AuthName "DATA"
  AuthDigestDomain http://localhost/proxy1
  AuthDigestProvider file
  AuthUserFile /etc/httpd/.htpasswd-digest
  Require valid-user
</Directory>

<Directory "/var/www/proxy2">
  AuthType None
  Require all granted
</Directory>

</VirtualHost>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to