Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 08-22-2007, 03:24 PM   #1
LQ Newbie
Registered: Apr 2007
Location: Newry, N.Ireland
Posts: 8

Rep: Reputation: 0
Angry access denied by directive

i get you do not have permision to access message when i try to access my site the error logs shows
[Wed Aug 22 21:10:34 2007] [error] [client] Directory index forbidden by Options directive: /usr/local/apache2/htdocs/cobrien/, referer:

however the httpd.conf file virtual hosts allows virtual host section for this site below

<virtualhost *>
documentroot "/usr/local/apache2/htdocs/cobrien"

<directory "/usr/local/apache2/htdocs/cobrien">
Options FollowSymLinks
AllowOverride None
Order allow,deny
allow from all

ErrorLog logs/error_log

there are 3 other virtual hosts all setup the same way but these have no errors and sites are accessible
Old 08-27-2007, 12:59 PM   #2
Registered: Sep 2005
Location: Nummela, Southern Finland
Distribution: Fedora Core 4, Fedora Core 5, Redhat 9.0, Solaris 10, WInXP pro, W2k pro
Posts: 30

Rep: Reputation: 15

do you have anything in that document root?
This is just a wild guess but if you do not have anything in the document root you do not have
permission to "view" inside Directory unless you have configured it.

Other thing to check is that path to index (whole path from /usr/...)has valid permissions.


apache, permissions

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Access denied when attempting access samba share warlockvix Linux - Software 1 05-11-2007 02:36 PM
.sh - access denied? RugbyPete Linux - Software 12 01-18-2007 03:44 PM
Suse 10.1, Access denied while trying to access a partition Rollotamasi Linux - Newbie 1 06-23-2006 04:59 PM
access denied simpleaudio Linux - Software 13 03-26-2005 04:30 PM
getting access denied , when trying to access camera as normal user bennythepitbull Linux - Hardware 2 11-04-2003 02:30 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:15 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration