From owner-freebsd-questions@FreeBSD.ORG Wed Sep 12 20:27:56 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 263EE16A41B for ; Wed, 12 Sep 2007 20:27:56 +0000 (UTC) (envelope-from heli@mikestammer.com) Received: from smtp109.sbc.mail.re2.yahoo.com (smtp109.sbc.mail.re2.yahoo.com [68.142.229.96]) by mx1.freebsd.org (Postfix) with SMTP id BB85013C48D for ; Wed, 12 Sep 2007 20:27:55 +0000 (UTC) (envelope-from heli@mikestammer.com) Received: (qmail 11383 invoked from network); 12 Sep 2007 20:27:54 -0000 Received: from unknown (HELO mail.mikestammer.com) (mikestammer@sbcglobal.net@70.131.132.207 with login) by smtp109.sbc.mail.re2.yahoo.com with SMTP; 12 Sep 2007 20:27:54 -0000 X-YMail-OSG: WWQaP2MVM1k47T_5PKdtX8qCFtGog4pO2lfPFmRsPecak.ZY0YYvndwHsU6sPFtBZl2i_ncSuQ-- Received: from localhost (localhost [127.0.0.1]) by mail.mikestammer.com (Postfix) with ESMTP id 77B9DB84A; Wed, 12 Sep 2007 15:27:54 -0500 (CDT) X-Virus-Scanned: amavisd-new at mikestammer.com Received: from mail.mikestammer.com ([127.0.0.1]) by localhost (gondolin.middleearth.mikestammer.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XSeGWNlM26gp; Wed, 12 Sep 2007 15:27:53 -0500 (CDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: eric) by mail.mikestammer.com (Postfix) with ESMTPSA id E073EB80B; Wed, 12 Sep 2007 15:27:52 -0500 (CDT) Message-ID: <46E84BC8.8080304@mikestammer.com> Date: Wed, 12 Sep 2007 15:27:52 -0500 From: Eric User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Zbigniew Szalbot References: <20070912120014.1B87016A4C6@hub.freebsd.org> <94136a2c0709121151m209ef65ale509038ec1278c30@mail.gmail.com> <200709122130.16659.fbsd.questions@rachie.is-a-geek.net> <94136a2c0709121316t54f8e1fag3c3beb2381949a6e@mail.gmail.com> In-Reply-To: <94136a2c0709121316t54f8e1fag3c3beb2381949a6e@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Mel , freebsd-questions@freebsd.org Subject: Re: php5-5.2.3_1 / website behaves as if not enabled in httpd.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Sep 2007 20:27:56 -0000 Zbigniew Szalbot wrote: > Hello, > > 2007/9/12, Mel : >> On Wednesday 12 September 2007 20:51:52 Zbigniew Szalbot wrote: >> >>> There's only one problem left to be solved - files with php extensions >>> are not really shown in browser until I click RELOAD. Files with html >>> extensions are shown without the need to reload. Thanks for your >>> patience! > > Actually, maybe my description should be corrected - that is when I > want to access a directory where index.php resides, apache will just > display this directory content. But when I click (not reload) the php > file, page is loaded correctly. > >> To try and come to the cause, take Indexes outof Options for a given >> directory/location. It should give a Forbidden at that time, reason will be >> in error log, the exact request should be in access log. Look for subtle >> differences if there are any - between the forbidden and the reloaded page >> (like ending slash or what not). > > I did it for one directory where it was defined and I did get 403 > error. So reading httpd-error.log: > Directory index forbidden by rule: /usr/local/www/data/test/ > > access-log: > "GET / HTTP/1.1" 403 302 > > Maybe I will have to say reconcile with php 4.4.7 after all. > maybe this was already mentioned, but what do you have DirectoryIndex set to? it should look something like: DirectoryIndex index.html index.php