Bonjour

Pour le moment, je suis le seul à avoir accès à mon site perso mais j'aimerai autoriser un autre site: http://validator.w3.org

Ce qui donne:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
RewriteCond %{REQUEST_URI} !/cgi-bin/error.cgi$
RewriteCond %{REQUEST_URI} !/cgi-bin/redirect.cgi$
RewriteCond %{REQUEST_URI} !/tcsh.css$
RewriteCond %{REQUEST_URI} !/img/back.gif$
RewriteCond %{REQUEST_URI} !/img/obsd.gif$
RewriteCond %{REMOTE_ADDR} !^0\.0\.0\.0
RewriteCond %{HTTP_HOST} !^http://validator.w3.org
RewriteRule (.*) http://www.oregnier.org/$ [R=302,L]
Cela fonctionne mais du coup cela supprime la redirection 302 donc la ligne est fausse mais je ne vois pas comment l'écrire autrement.

Un petit coup de main ?

Merci d'avance