Nikolai Buer said the following on 04/11/03 13:46:
An alternative would be to use mod_rewrite on the server and rewrite
all requests for xxx.com to www.xxx.com, but I haven't got around to
this yet, hopefully it will be a simple thing.


This does it for me:

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

Regards,
Ronny
--
Technical Director
Amazing Internet Ltd, London
t: +44 20 8607 9535
f: +44 20 8607 9536
w: www.amazinginternet.com

Reply via email to