I have a Fresh Fedora 11 running on my Dell Laptop.I was exploring Directory Indexing and Security aspect of Apache.
One Doubt I have on my mind and would like to be suggested is:
Say, Under /etc/httpd/conf/httpd.conf
I have entry like:
Code:
DocumentRoot "/var/www/html"
Code:
<Directory "/var/www/html/pdfs">
Options Indexes FollowSymLinks
AllowOverride None
Order deny,allow
Allow from all
</Directory>
Restart the Apache Service.
Whenever I browse
http://localhost/pdfs
It works Fine !!
Now Say, I have one more Directory to share: Say, /www/publish
Will this entry work:
Code:
<Directory /www/publish>
Options Indexes FollowSymLinks
AllowOverride None
</Directory>
Then I wonder what URL I need to enter into Browser.
Am I doing something wrong?
Is One DocumentRoot restricted to one Apache Server?
Pls Suggest?