mediawiki rewrites

Discussion in 'Install/Configuration' started by harrinp1, Jun 2, 2005.

  1. harrinp1

    harrinp1 New Member

    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
  2. mistwang

    mistwang LiteSpeed Staff

    There should be a CRLF after '[OR]', each rewrite condition should take one line. :)
  3. harrinp1

    harrinp1 New Member

    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

Share This Page