Problème de ré-écriture d'url
Résolu
Nemoadd
Messages postés
1
Statut
Membre
-
booster -
booster -
Bonjour,
J'ai une hébergement PRO chez OVH avec le domaine www.isantys.fr
J'ai pris un autre domaine (www.ndongsima.com) que je gère en multidomaine sur isantys.fr.
Dans isantys.fr, j'ai un répertoire /ndongsima vers lequel pointe .ndongsima.com.
Pour afficher http://www.ndongsima.com au lieu de http://isantys.fr/ndongsima, j'ai créé un fichier htaccess qui contient ceci:
SetEnv PHP_VER 5
SetEnv MAGIC_QUOTES 0
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www\.isantys\.fr [NC]
RewriteRule ^/ndongsima/(.*)$ http://www.ndongsima.com/$1 [QSA,R=301,L]
le problème, c'est qu'avec l'url http://www.ndongsima.com, j'arrive sur une page blanche. Et ce, quelque soit le nom de fichier que je mets après (ex: http://www.ndongsima.com/toto.php).
D'ou peut venir ce problème?
Merci
J'ai une hébergement PRO chez OVH avec le domaine www.isantys.fr
J'ai pris un autre domaine (www.ndongsima.com) que je gère en multidomaine sur isantys.fr.
Dans isantys.fr, j'ai un répertoire /ndongsima vers lequel pointe .ndongsima.com.
Pour afficher http://www.ndongsima.com au lieu de http://isantys.fr/ndongsima, j'ai créé un fichier htaccess qui contient ceci:
SetEnv PHP_VER 5
SetEnv MAGIC_QUOTES 0
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www\.isantys\.fr [NC]
RewriteRule ^/ndongsima/(.*)$ http://www.ndongsima.com/$1 [QSA,R=301,L]
le problème, c'est qu'avec l'url http://www.ndongsima.com, j'arrive sur une page blanche. Et ce, quelque soit le nom de fichier que je mets après (ex: http://www.ndongsima.com/toto.php).
D'ou peut venir ce problème?
Merci