Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 57194 invoked by uid 500); 21 Nov 2002 14:46:39 -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: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 56962 invoked from network); 21 Nov 2002 14:46:33 -0000 Received: from f94.pav2.hotmail.com (HELO hotmail.com) (64.4.37.94) by daedalus.apache.org with SMTP; 21 Nov 2002 14:46:33 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 21 Nov 2002 06:42:38 -0800 Received: from 80.132.158.83 by pv2fd.pav2.hotmail.msn.com with HTTP; Thu, 21 Nov 2002 14:42:37 GMT X-Originating-IP: [80.132.158.83] From: "How Can ThisBe" To: users@httpd.apache.org Bcc: Date: Thu, 21 Nov 2002 14:42:37 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 21 Nov 2002 14:42:38.0587 (UTC) FILETIME=[3D0294B0:01C2916C] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: [users@httpd] Pages using 'look-back' feature w. forceType and symbolic links run twice My site is running on Apache/1.3.26. Since July I have been using the apache 'look back' feature (not sure correct term for this - where it scans backwards down the URL if it doesn�t find what it's looking for) with a combination of forceType and symbolic links to allow me to use search engine friendly URI like http://onemoremonky.com/pics/chimp to display an image from the pics gallery, rather than say http://onemoremonky.com/pics.php?i=chimp I am using forced type in my .htaccess file ForceType application/x-httpd-php and making a symbolic link from pics to pics.php, then extracting the variable/s from the $REQUEST_URI. This seemed to be working well. Problem is on the server side it seems to be processing the php page twice. In the php code I have a function to store user information in a database with each page load. I have recently noticed that each page request to the pics section seems to be calling the php page twice. So for instance, http://onemoremonky.com/pics/chimp is accessing this page then running again for http://onemoremonky.com/pics/ Only the first page displays to the user and is logged in the access log but the server side page counter shows a second call to with the referer as . Indeed if you call there is often a second or third call to itself. There are no redirects of any kind in the php script and presumably if this was the culprit the page would actualy redirect. So it seems as if on the server side the PHP page is processing redundantly. Is this a bug, how 'look-back' should be working or is my setup at fault. Apologies for the long winded explanation. Any suggestions would be greatly appreciated, _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org