Bonjour,
Voilà j'aimerais faire pointer un sous domaine vers un sous dossier de mon site, j'ai cru comprendre qu'on pouvait le faire avec un fichier htaccess (mais j'y capte rien) pour faire quelque chose comme :
http://forums.domaine.com => http://domaine.com/forums/
...
Pour informations je développe une application avec le zend frameworks et donc j'ai un fichier htaccess contenant :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9 RewriteEngine On RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] RewriteRule ^.*$ index.php [NC,L]
Partager