Apache 403 Forbidden Error (DocumentRoot)

This is a discussion on Apache 403 Forbidden Error (DocumentRoot) within the Linux Web Servers forums, part of the Web Server and Related Forums category; FC3 Apache 2 the default server root is /var/www/html, everything works fine. when i add virtual hosts with ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-27-2005
josh@kthx.us
 
Posts: n/a
Default Apache 403 Forbidden Error (DocumentRoot)

FC3
Apache 2

the default server root is /var/www/html, everything works fine.

when i add virtual hosts with document roots outside of /var/www/html
(eg. /home/user/www) it tells me i dont have permissions to access that
folder.

the permissions are the same for both folders, 755, and each dir is set
to allow from all in the main config.

i know there is an easy solution to this problem but i have been
working for too long. what am i over looking?

  #2 (permalink)  
Old 04-27-2005
Tim
 
Posts: n/a
Default Re: Apache 403 Forbidden Error (DocumentRoot)

On 26 Apr 2005 19:27:05 -0700,
josh@kthx.us posted:

> FC3
> Apache 2
>
> the default server root is /var/www/html, everything works fine.
>
> when i add virtual hosts with document roots outside of /var/www/html
> (eg. /home/user/www) it tells me i dont have permissions to access that
> folder.
>
> the permissions are the same for both folders, 755, and each dir is set
> to allow from all in the main config.
>
> i know there is an easy solution to this problem but i have been
> working for too long. what am i over looking?


Sounds like the problem caused by SELINUX permissions not being set
correctly. There's a FAQ about this (see below).

Short answers:
Set the permissions appropriately.
Or, relax the security restrictions on Apache.
Or, disable SELINUX.

Fedora Core 3 in general:
<http://fedora.redhat.com/docs/selinux-faq-fc3/>
Apache with Fedora core 3:
<http://fedora.redhat.com/docs/selinux-apache-fc3/>

--
If you insist on e-mailing me, use the reply-to address (it's real but
temporary). But please reply to the group, like you're supposed to.

This message was sent without a virus, please delete some files yourself.
 
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:34 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0