From owner-freebsd-questions@FreeBSD.ORG Wed Sep 12 20:16:02 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 3EB7916A46D for ; Wed, 12 Sep 2007 20:16:02 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.225]) by mx1.freebsd.org (Postfix) with ESMTP id CC31A13C48D for ; Wed, 12 Sep 2007 20:16:01 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: by nz-out-0506.google.com with SMTP id l8so199115nzf for ; Wed, 12 Sep 2007 13:16:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=VFgZjZupk2fxVxZJpKCxIvCKvh68tKkjQHI9D+Rf1GA=; b=Yy2XLdhTXVoJO1poScnegpf/fgYMh13IxFZbgzDmaU1cMNf3Mb3TTES350glfOwBPqbQZqs3vYTRoW+Z0/tGNdyt6ncNin4mhfJBNwuxU6RUB7rlt5cRenHUwO85EbXnTty1j9ZUEFnuJhKOAseZZSrmNGEt2+In++CBu7jde2M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=S2Lgrm1DF+T2qtWypAn6IgMbaNDquYfZ63AQZWdjU0WZoeccC9Z3W2KT9/28kiFI4lIHdePBK7mDxKn85GF2in63hlmPk4uBCfdntCcDMRKrq362m5IUflxLCTkd0EWkBzGaCW7cnqmJ/N9PDGRSwlhZNT5fElNXTeFedlvMSDU= Received: by 10.65.133.8 with SMTP id k8mr15407533qbn.1189628160736; Wed, 12 Sep 2007 13:16:00 -0700 (PDT) Received: by 10.65.248.20 with HTTP; Wed, 12 Sep 2007 13:16:00 -0700 (PDT) Message-ID: <94136a2c0709121316t54f8e1fag3c3beb2381949a6e@mail.gmail.com> Date: Wed, 12 Sep 2007 22:16:00 +0200 From: "Zbigniew Szalbot" To: Mel In-Reply-To: <200709122130.16659.fbsd.questions@rachie.is-a-geek.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070912120014.1B87016A4C6@hub.freebsd.org> <94136a2c0709121151m209ef65ale509038ec1278c30@mail.gmail.com> <200709122130.16659.fbsd.questions@rachie.is-a-geek.net> Cc: 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:16:02 -0000 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. Thanks!