Go Back   Web Server Hosting Forum by BODHost > Support > Linux Server Hosting
 

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 09-21-07, 17:11
BOD Member
 
Join Date: Nov 2006
Posts: 271
Default How to disable Directory listing in Apache Virtual Web Server?

<h1>Apache Virtual Web Server</h1>

Note : Make sure to include index.html in every sub-directory under Document root in http.conf

You can disable directory listing by simply making use of -Indexes in <Directory> such as follows :

< Directory "/home/www/*" >
...
...
...
Options MultiViews -Indexes SymLinksIfOwnerMatch IncludesNoExec

After you have made the changes, make sure to restart Apache or you will receive a 403 Access Denied message.
Reply With Quote
  #2 (permalink)  
Old 09-22-07, 10:39
sam sam is offline
BOD Member
 
Join Date: Jul 2007
Posts: 141
Send a message via Yahoo to sam
Default

Can you explain us in detail why it is being used?
Reply With Quote
  #3 (permalink)  
Old 09-24-07, 07:05
BOD Member
 
Join Date: Nov 2006
Posts: 271
Default

That is how virtual websites are created on shared servers. It is the main concept in hosting
Reply With Quote
  #4 (permalink)  
Old 09-25-07, 06:19
sam sam is offline
BOD Member
 
Join Date: Jul 2007
Posts: 141
Send a message via Yahoo to sam
Default

Thanks linux tech
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump


All times are GMT -6. The time now is 03:23.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Copyright © 1999-2012, BODHost Ltd. All rights reserved.