httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ron Croonenberg <r...@lanl.gov>
Subject [users@httpd] Athentication
Date Thu, 21 Jan 2016 17:28:17 GMT
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: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message