Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 4603 invoked from network); 2 Jan 2007 06:42:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Jan 2007 06:42:30 -0000 Received: (qmail 34379 invoked by uid 500); 2 Jan 2007 06:42:05 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 34361 invoked by uid 500); 2 Jan 2007 06:42:05 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 34314 invoked by uid 99); 2 Jan 2007 06:42:04 -0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of steve.j.swift@gmail.com designates 64.233.182.187 as permitted sender) Received: from [64.233.182.187] (HELO nf-out-0910.google.com) (64.233.182.187) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Jan 2007 22:42:00 -0800 Received: by nf-out-0910.google.com with SMTP id k27so1133237nfc for ; Mon, 01 Jan 2007 22:40:30 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=psvKG1F8wsilUGthIINhzjbQvkzD/qdzJGZN/4eHP6puRpIScRe8Kxz3KbKY46LygVM4e1ENh+sfwo2rzW6Nji4aM9a9WGJ5EhAcx8K8gCPCN+rNQyFLmvrVpBhY4bfxQu0P/mNkXc+/9QljBwaSN9k0u4vBeEI0ZvrD1je1CBI= Received: by 10.49.93.4 with SMTP id v4mr19918764nfl.1167720030353; Mon, 01 Jan 2007 22:40:30 -0800 (PST) Received: by 10.49.107.11 with HTTP; Mon, 1 Jan 2007 22:40:30 -0800 (PST) Message-ID: Date: Tue, 2 Jan 2007 06:40:30 +0000 From: "Steve Swift" To: users@httpd.apache.org In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_150415_870664.1167720030313" References: X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] No permission to access files. ------=_Part_150415_870664.1167720030313 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 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 ------=_Part_150415_870664.1167720030313 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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@gmail.com> 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 ------=_Part_150415_870664.1167720030313--