httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brandon Phelps <bphe...@gls.com>
Subject [users@httpd] Quick Allow/Deny Question
Date Thu, 29 Sep 2011 21:24:55 GMT
Hello all,

I am a bit confused regarding the difference between:

         <Directory />
                 Options FollowSymLinks
                 AllowOverride None
         </Directory>

and:

         <Directory /var/www/>
                 Options Indexes FollowSymLinks MultiViews
                 AllowOverride None
                 Order allow,deny
                 allow from all
         </Directory>

I am trying to lock down the server to only allow connections from my local subnet, so should
I place these Order/Allow/Deny statements in the / directory block, or the /var/www?

Thanks!

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message