Solved, my host can do url rewriting :)
my rule was too strong, (I copied/pasted from I don't remember which article at mediawiki.org), images and skin where rewrited by my rule.
I added theses rules : # test if rewrite should stop for special directories RewriteRule ^(images|skins)/ - [L] # all php and flash scripts. RewriteRule .php5?$ - [L] RewriteRule .swf?$ - [L]
and remove the ErrorDocument 404 instruction. Now it works !
2006/7/14, Petr Andreyev gulliput@gmail.com:
I see... May be you could use URLs like http://tousauxbalkans.jexiste.fr/?Agenda< http://tousauxbalkans.jexiste.fr/Agenda%3E
move mediawiki installation one level down in a folder in the root directory and write index.php5 in the root to handle page names after the question mark ??
2006/7/14, Sylvain Machefert iubito@gmail.com:
because my host doesn't allow it. I'll ask them to do this, but not sure they will. When I add the rewrite rules in .htaccess, I get bad errors
2006/7/14, Petr Andreyev gulliput@gmail.com:
Hi Sylvain,
I do not know the answer (perhaps error document always returns 404 -- it's just a way to customize your message) --- but why don't you just use mod_rewrite to shorten your urls?
-- Petr
2006/7/14, Sylvain Machefert iubito@gmail.com:
Hi !
I've changed my "404 handling" to shorten my URLs.
How do you explain in the first case I get a 404 error in 3 seconds,
and
in the other case a 302 really quickly, whereas my .htaccess didn't
changed,
and I never send header("HTTP/1.1 404 Not Found") in my code ?
-- Sylvain http://iubito.free.fr http://tousauxbalkans.jexiste.fr _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
-- Sylvain Machefert http://iubito.free.fr http://tousauxbalkans.jexiste.fr _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l