Apache http.conf allow intranet

Posted by Magreet on Pro Webmasters See other posts from Pro Webmasters or by Magreet
Published on 2011-09-09T16:21:47Z Indexed on 2012/04/08 23:48 UTC
Read the original article Hit count: 438

Filed under:
|
|

what would be the correct config to allow only authenticated users and the intranet (without need for a password) in apache? This does not request a password and without the "satisfy any" intranet users are also required to enter a password...

<Directory "/var/www">
#   Allow Network Access and/or Basic Auth
Satisfy any

allow from 192.168

AuthName "Enter passwd!"
require valid-user
AuthUserFile /var/.passwd
AuthType Basic
allow from all
order deny,allow
</Directory>

© Pro Webmasters or respective owner

Related posts about apache

Related posts about httpd.conf