[Mediawiki-l] url rewrite
Huib Laurens
sterkebak at gmail.com
Sun Jan 3 12:06:43 UTC 2010
Hello,
I'm using url rewrite on my wiki like explained on mediawiki.org but this
makes it impossible for bots to use api.php because that gets forwarded to
the article instead of the real api file.
My htaccess.
suPHP_ConfigPath /home/wikiwex/php.ini
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [PT,L,QSA]
What kind of line can I add to ignore all requests for api.php ?
Best regards,
Huib
--
"The soldiers graves are great preachers of peace...."
http://commons.wikimedia.org/wiki/User:Abigor
More information about the MediaWiki-l
mailing list