Return to Snippet

Revision: 3946
at October 8, 2007 03:03 by therobot


Initial Code
RewriteCond %{HTTP_HOST}   !^www\.domain\.com [NC]
RewriteCond %{HTTP_HOST}   !^$
RewriteRule ^/(.*)         http://www.domain.com/$1 [L,R]

Initial URL

                                

Initial Description

                                

Initial Title
Apache redirect from domain.com to www.domain.com

Initial Tags
apache

Initial Language
Regular Expression