Error 403 on Apache server, You don't have permission to access / on this server.

David Quigley selinux at davequigley.com
Tue Jan 31 15:54:51 UTC 2012


On 01/31/2012 10:34, Dark Phoenix wrote:
> 99 out of 100 times this is due to the folder Apache is attempting to
> serve not having the correct user/group permissions set on it for
> Apache to access it properly.
>
> On Sun, Jan 29, 2012 at 3:24 AM, Alan Holt  wrote:
>
>> Hello to all,
>>
>> Ive web-server Apache:
>> [root at services share]# httpd -v
>> Server version: Apache/2.2.17 (Unix)
>>
>> on Fedora Linux:
>> [root at services share]# cat /etc/issue
>> Fedora release 14 (Laughlin)
>>
>> And I have domain example.domain.com [1] where I want to see file
>> listing in the current directory, but when I go in the browser to
>> example.domain.com [2] I get the next error:
>>
>> Forbidden
>> You dont have permission to access / on this server.
>>
>> So I dont know what is the problem =(
>> My httpd.conf:
>>
>>     Order allow,deny
>>     Allow from All
>>     AllowOverride All
>>     IndexOptions +FancyIndexing
>>     Options +Indexes Includes MultiViews FollowSymLinks
>> AuthConfig FileInfo
>>
>> My .htaccess file:
>> [root at services QaTests]# cat .htaccess
>> Options +Indexes
>>
>> My directory:
>> DRWXRWSRWT    5 ROOT APACHE  4096 JAN 26 17:15 QATESTS
>>
>> What could be a problem I dont have any idea?
>> Could somebody to help me please ?
>>
>> --
>> בברכה, 
>> אלכס ברבר
>> +9 72 54 285 952 3 [3]
>> www.linuxspace.org [4]
>> --
>> Best regards.
>> Alex Berber
>> +9 72 54 285 952 3 [5]
>> www.linuxspace.org [6]
>>
>> --
>> users mailing list
>> users at lists.fedoraproject.org [7]
>> To unsubscribe or change subscription options:
>> https://admin.fedoraproject.org/mailman/listinfo/users [8]
>> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>> [9]
>> Have a question? Ask away: http://ask.fedoraproject.org [10]
>
>
>
> Links:
> ------
> [1] http://example.domain.com
> [2] http://example.domain.com
> [3] 
> http://webmail.countercultured.net/tel:%2B9%2072%2054%20285%20952%203
> [4] http://www.linuxspace.org
> [5] 
> http://webmail.countercultured.net/tel:%2B9%2072%2054%20285%20952%203
> [6] http://www.linuxspace.org
> [7] mailto:users at lists.fedoraproject.org
> [8] https://admin.fedoraproject.org/mailman/listinfo/users
> [9] http://fedoraproject.org/wiki/Mailing_list_guidelines
> [10] http://ask.fedoraproject.org
> [11] mailto:berber.it at gmail.com


Where is this folder that you are trying to serve? Do you have SELinux 
enabled (getenforce). If the location is non-standard did you make sure 
to set the labels properly (ls -Z directory)?

Dave


More information about the users mailing list