httpd config question

b0x3r

Registered
What is the difference between the following:
<Directory />
Options None
AllowOverride None
Order deny,allow
Deny from all
</Directory>

<Directory "/home/httpd/ona">
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>

The website worked fine with just the first directory entry. However, the information states it is best to enter a second directory entry. I did and everything works, I am just not clear as to why it is important.
 
Back
Top