[Moin-user] root wiki with mod_python

Gnarlodious lists.gnarlodious at gmail.com
Sun Jan 13 00:40:22 EST 2008


On 1/11/08, James Bardin wrote:

> # don't catch any of our static URLs
> RewriteCond %{REQUEST_URI}  !^/moin_static160.*
> RewriteCond %{REQUEST_URI}  !^/robots.txt$
> RewriteCond %{REQUEST_URI}  !^/favicon.ico$

Is this working as expected? Because I believe there is an implicit
[AND] statement after the first two lines. And of course, it would be
impossible for {REQUEST_URI} to fulfill all three conditions.

In addition, I think you can shorten that statement to:

RewriteCond %{REQUEST_URI}  !(^/moin_static160.*|^/robots.txt$|^/favicon.ico$)

Unless I'm not grasping you purpose here... Looks like you are
intercepting requests.

-- Gnarlie
http://Gnarlodious.com/Gnarlodious




More information about the Moin-user mailing list