httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ron Croonenberg <>
Subject [users@httpd] Athentication
Date Thu, 21 Jan 2016 17:28:17 GMT

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.



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 "/var/www/proxy2">
   AuthType None
   Require all granted


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message