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

It is currently Sat Jun 06, 2020 2:14 am

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

:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:
Font size:
Font colour
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.

Directory index forbidden by Options directive

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

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

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:  
cronNews 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 ]