Merci Olivier pour ta réponse

Solution 1:

Options +FollowSymlinks
RewriteEngine on
RewriteBase /test
RewriteRule ^nexistepas.html$   trouve.html  [L]

Solution 2:

Options +FollowSymlinks
RewriteEngine on
RewriteRule ^/test/nexistepas.html$   /test/trouve.html  [L]

J'ai testé les 2, sans succès, j'obtiens toujours une 404 :-(
http://www.mondomaine.com/test/nexistepas.html
Il doit y avoir un autre truc à faire ailleurs, mais je ne trouve pas quoi.

Les tutotiaux c'est bien, mais parfois la doc d'origine c'est mieux :)
http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html

J'étais allé là aussi ;-)

Yann
--
__________________________________________________________
Yann Cochard : http://yanncochard.com/
Au Cactus Francophone : http://www.cactuspro.com/
Kaella, Knoppix Linux Azur : http://kaella.linux-azur.org/

Linux-Azur :      http://www.linux-azur.org
Désinscriptions: http://www.linux-azur.org/liste.php3
**** Pas de message au format HTML, SVP ****

Répondre à