« Mod rewrite » : différence entre les versions
De bricosoft
mAucun résumé des modifications |
m Nettoyage : gabarit 2012 (widgets Twitter/Google/DISQUS morts et fichiers fantômes) |
||
| Ligne 1 : | Ligne 1 : | ||
'''{{lowercase|mod_rewrite}}mod_rewrite''' est un module d'[[apache]] pour la réécriture d'URL. | '''{{lowercase|mod_rewrite}}mod_rewrite''' est un module d'[[apache]] pour la réécriture d'URL. | ||
| Ligne 23 : | Ligne 16 : | ||
*http://{{PAGENAME}}.biz | *http://{{PAGENAME}}.biz | ||
*http://{{PAGENAME}}.fr | *http://{{PAGENAME}}.fr | ||
|url={{fullurl:{{PAGENAME}}}} | |url={{fullurl:{{PAGENAME}}}} | ||
}} | }} | ||
[[catégorie:new]] | [[catégorie:new]] | ||
Dernière version du 3 novembre 2026 à 19:54
mod_rewrite est un module d'apache pour la réécriture d'URL.
sous domaine vers dossier / subdomain to folder
Par exemple : toto.bricosoft.com vers bricosoft.com/toto
RewriteEngine on
RewriteCond %{HTTP_HOST} ^toto.bricosoft.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.toto.bricosoft.com$
RewriteRule ^(.*)$ http://www.bricosoft.com/index.php/toto$1 [R=301,L]
Liens
- http://Mod rewrite.com
- http://Mod rewrite.net
- http://Mod rewrite.org
- http://Mod rewrite.info
- http://Mod rewrite.biz
- http://Mod rewrite.fr