[Mediawiki-l] Re: Re: Re: Help for a new mediawiki installation

Alessandro Ronchi alessandro.ronchi at gmail.com
Mon Feb 14 21:45:19 UTC 2005

Il giorno lun, 14-02-2005 alle 12:37 -0800, Brion Vibber ha scritto:
> Alessandro Ronchi wrote:

> See:
> http://meta.wikimedia.org/wiki/Rewrite_rules

It didn't worked for me. I've successfully uses this:

# close the php security hole...
php_flag register_globals off

# first, enable the processing - Unless your ISP has it enabled
# already.  That might cause weird errors.
RewriteEngine on
RewriteBase /wiki/

# Don't rewrite requests for files in MediaWiki subdirectories,
# MediaWiki PHP files, HTTP error documents, favicon.ico, or robots.txt
RewriteCond %{REQUEST_URI} !^/wiki/(stylesheets|images|skins)/
RewriteCond %{REQUEST_URI} !^/wiki/(redirect|texvc|index).php
RewriteCond %{REQUEST_URI} !^/error/(40(1|3|4)|500).html
RewriteCond %{REQUEST_URI} !^/favicon.ico
RewriteCond %{REQUEST_URI} !^/robots.txt

RewriteRule ^(.*)$ index.php?title=$1

Maybe the page http://meta.wikimedia.org/wiki/Rewrite_rules needs an
Alessandro Ronchi

More information about the MediaWiki-l mailing list