[Moin-user] root wiki with mod_python
james bardin
jbardin at bu.edu
Sun Jan 13 11:39:53 EST 2008
> On Jan 13, 2008 2:56 AM, Arthur Pemberton <pemboa at gmail.com> wrote:
> On Jan 12, 2008 11:40 PM, Gnarlodious <lists.gnarlodious at gmail.com> wrote:
>
>> 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
Thanks Arthur,
Forgot the [OR]s, as I keep everything the moin_static, and added the others
at the last minute.
In reality, I only use:
RewriteCond %{REQUEST_URI} !^/moin_static160.*
RewriteRule ^/?(.*)$ /var/www/wikifarm/$1
-jim
>
> > 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 )
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/moin-user/attachments/20080113/5815166b/attachment.html>
More information about the Moin-user
mailing list