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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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? |
|
|||
|
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. |