LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 08-22-2007, 04:24 PM   #1
chuchulain64
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 86.148.40.198] Directory index forbidden by Options directive: /usr/local/apache2/htdocs/cobrien/, referer: http://www.cobrien.co.uk/

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

<virtualhost *>
#servername www.cobrien.co.uk
servername cobrien.dyndns.org
serveradmin cobrien@bnospamtinternet.com
documentroot "/usr/local/apache2/htdocs/cobrien"

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

ErrorLog logs/error_log
</virtualhost>

there are 3 other virtual hosts all setup the same way but these have no errors and sites are accessible
 
Old 08-27-2007, 01:59 PM   #2
iuaui
Member
 
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
Hi,

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.
 
  


Reply

Tags
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 03:36 PM
.sh - access denied? RugbyPete Linux - Software 12 01-18-2007 04:44 PM
Suse 10.1, Access denied while trying to access a partition Rollotamasi Linux - Newbie 1 06-23-2006 05:59 PM
access denied simpleaudio Linux - Software 13 03-26-2005 05:30 PM
getting access denied , when trying to access camera as normal user bennythepitbull Linux - Hardware 2 11-04-2003 03:30 AM


All times are GMT -5. The time now is 11:29 PM.

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