Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 19/20 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 29th January 2012, 10:34 AM
mothes Offline
Registered User
 
Join Date: Apr 2010
Posts: 1
windows_7firefox
Error 403 on Apache server, You don't have permission to access / on this server.

Hello to all,

I've web-server Apache:
[root@services share]# httpd -v
Server version: Apache/2.2.17 (Unix)


on Fedora Linux:
[root@services share]# cat /etc/issue
Fedora release 14 (Laughlin)

And I have domain example.domain.com where I want to see file listing in the current directory, but when I go in the browser to example.domain.com I get the next error:

Forbidden
You don't have permission to access / on this server.


So I don't know what is the problem =(
My httpd.conf:
<Directory />
Order allow,deny
Allow from All
AllowOverride All
IndexOptions +FancyIndexing
Options +Indexes Includes MultiViews FollowSymLinks AuthConfig FileInfo
</Directory>

My .htaccess file:
[root@services QaTests]# cat .htaccess
Options +Indexes


My directory:
drwxrwsrwt 5 root apache 4096 Jan 26 17:15 QaTests

What could be a problem I don't have any idea =(
Could somebody to help me please?

---------- Post added at 12:34 PM ---------- Previous post was at 10:30 AM ----------

I just solved this problem. But I don't think that's good solution, I changed file httpd.conf like this:

<Directory "/usr/share/QaTests">

#Options +Indexes FollowSymLinks
Options All
AllowOverride AuthConfig FileInfo
Order allow,deny
Allow from all

</Directory>

<Location />
Options All
</Location>


So Option All helped me.
Reply With Quote
  #2  
Old 29th January 2012, 11:28 AM
SteveGYBE Offline
Registered User
 
Join Date: Jun 2007
Location: Lytham St Annes, Lancashire, UK
Posts: 338
linuxfirefox
Re: Error 403 on Apache server, You don't have permission to access / on this server.

From the Apache manual page for the Options directive
Quote:
Warning

Mixing Options with a + or - with those without is not valid syntax, and is likely to cause unexpected results.
Reply With Quote
  #3  
Old 16th February 2014, 05:52 PM
clariceoshea Offline
Registered User
 
Join Date: Jun 2010
Posts: 282
linuxfirefox
Re: Error 403 on Apache server, You don't have permission to access / on this server.

this worked

/sbin/restorecon -v /var/www/html/*.php

look in selinuxtroubleshooting

1 of 3 choices
Reply With Quote
Reply

Tags
403, access, apache, error, permission, server

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
You don't have permission to access / on this server. abhijitsarangi Servers & Networking 7 1st July 2010 11:00 AM
SVN Server Access Permission??? ajeetraina Servers & Networking 1 27th March 2008 07:44 AM
Error: no permission to access the x server Kaotik2003 Using Fedora 1 18th January 2006 09:23 PM


Current GMT-time: 05:18 (Friday, 29-08-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat