Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 33736 invoked from network); 10 Sep 2008 15:54:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Sep 2008 15:54:53 -0000 Received: (qmail 90326 invoked by uid 500); 10 Sep 2008 15:54:42 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 89833 invoked by uid 500); 10 Sep 2008 15:54:41 -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 89822 invoked by uid 99); 10 Sep 2008 15:54:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Sep 2008 08:54:41 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [24.247.187.246] (HELO raoset.com) (24.247.187.246) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Sep 2008 15:53:41 +0000 Received: from [192.168.0.253] (unknown [192.168.0.253]) by raoset.com (Postfix) with ESMTP id 60A84170EEFF for ; Wed, 10 Sep 2008 11:54:11 -0400 (EDT) Message-Id: From: Jason Pruim To: users@httpd.apache.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v926) Date: Wed, 10 Sep 2008 11:54:10 -0400 X-Mailer: Apple Mail (2.926) X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] Checking if file or directory exist Hello everyone, So I'm still fighting with mod_rewrite a little but I have made progress... Basically, what I am looking to do now, is check to see if a file/folder exists and if not rewrite and give control to my p.php script to look it up in the database. Here are the rules that I'm using: RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /p.php [L] Now, that part works just fine, but what I can't seem to work out is the sublinks. I have some links that look like this: HTTP://purl.schreurprinting.com/mail.php?purl=jasonpruim112 Now mail.php exists and so it should NOT be rewriting, but it is... Basically... If someone goes to mail.php?purl=jasonpruim112 I want mail.php to handle the request... Am I making sense? Anyone have any clue what I need to do? Thanks for looking! -- Jason Pruim Raoset Inc. Technology Manager MQC Specialist 11287 James St Holland, MI 49424 www.raoset.com japruim@raoset.com --------------------------------------------------------------------- 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