httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: [users@httpd] RE: users Digest 4 Dec 2002 02:26:30 -0000 Issue 620
Date Wed, 04 Dec 2002 15:38:07 GMT

On Wed, 4 Dec 2002, Chad Day wrote:

> [calendar.domain.com/sid#80b7a04][rid#813b034/initial] (1) redirect to
> http://calendar.domain.com/view.php?ID=/cday2 [REDIRECT/302]

Hmm... This doesn't look like the same rule you have below.

> [calendar.domain.com/sid#80b7a04][rid#813b034/initial] (4) RewriteCond:
> input='/view.php' pattern='!-f' => matched


> RewriteEngine on
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteRule ^(.+) /view.php?ID=$1 [R,L,NE]

Well, does view.php exist in the DocumentRoot?  You can easily exclude
view.php explicitly by using another RewriteCond, but the question is, is
the -f test working at all, or is it always returning false?

Joshua.

---------------------------------------------------------------------
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