JuGU
12/12/2014, 13h49
Bonjour.
Je constate qu'une réponse t'a été apportée via le support.
Je constate qu'une réponse t'a été apportée via le support.
RewriteEngine On RewriteCond %{HTTP_HOST} !^www. [NC] RewriteCond %{HTTP_HOST} ^([a-z]+)\.domaine.com [NC] RewriteRule ^(.*)$ http://www.domaine.com/%1/$1 [L,QSA]
http://titi.domaine.com/tralala?var1=hello&var2=world
http://www.domaine.com/titi/tralala?var1=hello&var2=world
RewriteEngine On RewriteCond %{HTTP_HOST} ^([a-z]+)\.domaine[NC] RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule .* /%1%{REQUEST_URI} [R]