[Moin-user] root wiki with mod_python
Arthur Pemberton
pemboa at gmail.com
Sun Jan 13 02:56:56 EST 2008
On Jan 12, 2008 11:40 PM, Gnarlodious <lists.gnarlodious at gmail.com> wrote:
> 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.
yes, there should be an [OR] on the first two conditions
> In addition, I think you can shorten that statement to:
>
> RewriteCond %{REQUEST_URI} !(^/moin_static160.*|^/robots.txt$|^/favicon.ico$)
not as pretty as 3 separate lin
--
Fedora 7 : sipping some of that moonshine
( www.pembo13.com )
More information about the Moin-user
mailing list