PDA

View Full Version : mediawiki rewrites


harrinp1
06-02-2005, 07:39 AM
I'm trying to implement friendly URL's in media wiki as
explained here:

http://meta.wikimedia.org/wiki/Talk:Rewrite_rules#rofro.27s_solution

But I get the following error:

2005-06-02 14:31:31.494 [ERROR] [config:vhost:wiki.windwood-bay.co.uk:context:/wiki] rewrite: invalid r
ewrite condition while parsing: RewriteCond %{QUERY_STRING} ^$ [OR] RewriteCond %{REQUEST_URI} ^/wiki/S
pecial:Search

Any ideas? Is this the best was to achive this with Litespeed or perhaps I should use a rewrite context?

Tia

Paul

mistwang
06-02-2005, 02:14 PM
There should be a CRLF after '[OR]', each rewrite condition should take one line. :-)

harrinp1
06-03-2005, 01:39 AM
Doh!

I just thought this must be a login OR rather than just
the usual flags.

Thanks for the excellent support as always.

Regards

Paul