|
Home > Archive > Web Servers on Unix and Linux > July 2005 > Problems accessing directory in server document root
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Problems accessing directory in server document root
|
|
| Rajesh Viswanathan 2005-07-07, 8:47 pm |
| I unpacked webcalendar and placed it in its own directory under the
root html directory (var/www/html). I can read
/var/www/html/webcal/index.html but if I try to access
/var/www/html/index.php or readme.html I get a 403 access to that file
is denied error (the error log has a permission denied entry). I have
tried different permission combinations including 777, 644, 755, 711).
I have a standard .htaccess file with no directives. The httpd.conf
file is default with user/group default to apache, apache. The webcal
directory ownership/group is root.root (I also tried apache.apache).
But nothing has worked so far. I am running a fedora core 4.
Any help is greatly appreciated.
| |
|
| On Thu, 07 Jul 2005 18:46:13 -0700, Rajesh Viswanathan wrote:
> I get a 403 access to that file is denied error (the error log has a
> permission denied entry). I have tried different permission combinations
> including 777, 644, 755, 711). I have a standard .htaccess file with no
> directives. The httpd.conf file is default with user/group default to
> apache, apache. The webcal directory ownership/group is root.root (I
> also tried apache.apache). But nothing has worked so far. I am running a
> fedora core 4.
With Fedora Core 3, at least, SELinux *adds* *more* restrictions to what
can be served, that might still be the case with Fedora Core 3. There's a
FAQ about this on the Fedora website:
<http://fedora.redhat.com/docs/selinux-apache-fc3/>
See if that helps you out.
--
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.
| |
| Rajesh Viswanathan 2005-07-08, 5:51 pm |
| Tim,
Thank you for the SELinux reference. That was the problem - I used
chcon to allow access to the files and everything was accessible.
Gratefully yours.
rj
|
|
|
|
|