httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Pruim <japr...@raoset.com>
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 <japruim@raoset.com>  
> 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 purl.schreurprinting.com/jasonpruim112 there will be a  
link to http://purl.schreurprinting.com/mail.php?purl=jasonpruim112

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
www.raoset.com
japruim@raoset.com





---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> 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


Mime
View raw message