httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Pruim <>
Subject Re: [users@httpd] Checking if file or directory exist
Date Thu, 11 Sep 2008 11:39:03 GMT

On Sep 11, 2008, at 7:30 AM, Eric Covener wrote:

> On Thu, Sep 11, 2008 at 6:28 AM, Jason Pruim <>  
> wrote:
>> Here is my .htaccess file... Does it look right?
>> Options +FollowSymlinks
>> RewriteEngine on
>> RewriteLog /var/log/purl.virt.rewrite.log
> is this valdi in .htaccess?

My guess is no since it's not working...

>> RewriteLogLevel 9
> where's RewriteBase?

I thought that rewritebase was optional?
>> RewriteCond %{REQUEST_FILENAME} !-f
>> RewriteCond %{REQUEST_FILENAME} !-d
>> RewriteRule . /p.php [L]
> You're not capturing or passing anything, and how do you get to  
> mail.php?

after you load there will be a  
link to

The basic premise I have been working off of is just simply if the  
file exists, let that file handle serving the page, if it DOESN"T  
exist pass it to p.php to handle it.

So with that understanding I don't think that I need to capture  
anything in the rewritecond's other then if the file exists correct?


Jason Pruim
Raoset Inc.
Technology Manager
MQC Specialist
11287 James St
Holland, MI 49424

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message