I am new to Apache and with IIS background. I have about 5 web sites hosted on my Apache server. I want to disable directory browsing for just one web site 'XYZ' and not for other 4. Please help me here in detail.
Thanks
jitendraag
1:51 pm on Oct 27, 2008 (gmt 0)
I am assuming you have virtual hosts within your webserver. You can just disable Options Indexes for that particular domain.
kmughal80
1:59 pm on Oct 27, 2008 (gmt 0)
but how do I do that ? details would be appreciated
Thanks
jitendraag
2:02 pm on Oct 27, 2008 (gmt 0)
You can edit your apache httpd.conf for that. Read more about Options Indexes and httpd.conf to get more details.
The Contractor
2:39 pm on Oct 27, 2008 (gmt 0)
You can add the following to each .htaccess file in the root of the website/domain: