LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-18-2014, 10:52 PM   #1
said76
Member
 
Registered: Aug 2011
Posts: 113

Rep: Reputation: Disabled
403 apache 2.4 error


Hi,

I was wondering if I can get some help with the following apache error:
403 You don't have permission to access / on this server.

In the apache log file, it says:
<snip> No matching DirectoryIndex (index.php) found, and server-generated directory index forbidden by Options directive

I'm running Ubuntu Server 12.04.05 LTS 32bit, Apache-2.4.10.

The apache keeps looking for index.php in the file directory where there is only index.html. I don't know how to tell it to look into index.html.

In my Apache config file, I have the following set:
<IfModule dir_module>
DirectoryIndex index.html index.php
</IfModule>

But it still throws up the same error.

Thank you in advance
 
Old 11-19-2014, 01:35 AM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
Is there another DirectoryIndex directive in your document root?
 
Old 11-23-2014, 06:57 PM   #3
said76
Member
 
Registered: Aug 2011
Posts: 113

Original Poster
Rep: Reputation: Disabled
Thank you for replying.

No, there is only one httpd.conf in my apache folder. When I tried to do a word search of "DirectoryIndex" inside the configuration file, it returned only that DirectoryIndex.

Thank you
 
Old 11-24-2014, 12:46 AM   #4
SAbhi
Member
 
Registered: Aug 2009
Location: Bangaluru, India
Distribution: CentOS 6.5, SuSE SLED/ SLES 10.2 SP2 /11.2, Fedora 11/16
Posts: 665

Rep: Reputation: Disabled
ok so what are the permissions set for your document root dir, sometimes it is just the basic permissions we forget to see.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] apache 403 / error peterb Mandriva 10 08-04-2010 09:37 AM
[SOLVED] Apache - can't fix 403 error AlucardZero Linux - Server 7 11-20-2009 01:27 PM
Apache Error 403 - CentOS 5.2 with Apache 2.2.3 gordymann Linux - Newbie 2 04-08-2009 08:57 AM
403 error in Apache watcher69b Linux - Server 3 05-27-2008 08:13 AM
Apache 403 Error?? jlsain Linux - Software 4 05-08-2004 03:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:09 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
Open Source Consulting | Domain Registration