Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

FAQ
It is currently Tue Oct 22, 2019 10:28 am


Username:
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:
Font size:
 
Font colour
Options:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Confirmation code
Confirmation code:
In an effort to prevent automatic submissions, we require that you enter both of the words displayed into the text field underneath.
     

Topic review - CentOS Apache 2.2.3 Directory index forbidden by Options directive
Author Message
Post subject: CentOS Apache 2.2.3 Directory index forbidden by Options directive  |  Post Posted: Thu Jul 29, 2010 11:34 am
After installing Apache 2.2.3 on Centos 5.5, adding virtual domains with Directory indexes will not be possible and the apache welcome page will be displayed if there isn't an index file in the root directory of the vhost.

Quote:
Directory index forbidden by Options directive


This behavior can be fixed by editing /etc/httpd/conf.d/welcome.conf and change it from:
Code:
<LocationMatch "^/+$">
    Options -Indexes
    ErrorDocument 403 /error/noindex.html
</LocationMatch>


to
Code:
<LocationMatch "^/+$">
    Options Indexes
    ErrorDocument 403 /error/noindex.html
</LocationMatch>


Now, vhosts that don't have an index file (index.html or index.php) in their root directory and have directory indexes enabled, will display a list of files.
Jump to:  
News News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC - 5 hours [ DST ]



phpBB SEO