Re: No permission to access files.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



As with all errors, and "Forbidden" in particular, the relevent entry(s) from the error log tell us the real reason, so this is something of a guess:

Does the userid/group under which your apache tasks run (webroot at another guess) have rx permission to the directory containing main.php and menu.php ?

On 01/01/07, Rod Rook <rod.rook@xxxxxxxxx> wrote:
Hi,

I've been running httpd web server under Fedora Core 4.

Now, I installed Fedora Core 6 onto another hard drive and configured httpd server with the same /etc/httpd/conf/httpd.conf as under FC4.

My web server is running now, but outside browsers get an error message of no permission to access to the following files: main.php and menu.php.

Here is the properties of the files.

-rwxrwxr-x 1 user_u:object_r:user_home_t      webroot webroot     466 Feb 27  2006 index.php
-rwxrwxr-x 1 user_u:object_r:user_home_t      webroot webroot    4197 Feb 27  2006 main.php
-rwxrwxr-x 1 user_u:object_r:user_home_t      webroot webroot     529 Nov 29  2005 menu.php

The index.php is supposed to execute main.php and menu.php.

What could be wrong with the file permission properties?

Thank you.

pine



--
Steve Swift
http://www.swiftys.org.uk
[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux