faqts : Computers : Internet : Web Servers : Apache : Security

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

Entry

How do I force http://test.com to be http://www.test.com using .htaccess

May 22nd, 2006 08:52
Kush Kushy,


RewriteCond %{HTTP_HOST} ^nemoweb\.com\.au$ [NC]
RewriteRule ^(.*)$ http://www.nemoweb.com.au/$1 [R=301,L]
Found myself, hope it will help somebody