[Mediawiki-l] rewrite problem

Umidjon Rahmonberdiev u.rahmonberdiev at cgiar.org
Mon Apr 23 08:37:53 UTC 2007


Hey all,

 

I'm facing trouble while using rewrite:

 

My web site it uses it's own rewrite rule:

RewriteRule ^(.*)$ index.php?p=$1 [L,QSA]

 

And wiki, which is located in W subdirectory if my web site uses other
rewrite rule:

RewriteRule ^wiki/?(.*)$ /w/index.php?title=$1 [L,QSA]

 

How do I combine them? Currently they are conflicting. 

 

I want first rule run on when there is no request for w or wiki folders, but
run in all other cases. Is there any guru's with rewriting, who can help me
out?

 

TIA

 

Best regards,

 

Umidjon B. Rahmonberdiev

NINP, Web Manager, CACAARI
P.O. Box 4564,6, Murtazaev St., 
Tashkent 700000, Uzbekistan
Tel.: (998-71) 137-21-30/69; Fax: (998-71) 120-71-25
E-mail:  <mailto:u.rahmonberdiev at cgiar.org> u.rahmonberdiev at cgiar.org 
WWW: http://www.cacaari.org

 



More information about the MediaWiki-l mailing list