Nikolai Buer, 2003-11-04 14:50:28 +0100 :

> 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.

<VirtualHost *>
  ServerName www.domain.tld
  ServerAlias domain.tld
  RewriteEngine on
  RewriteCond %{HTTP_HOST}   ^domain\.tld$ [NC]
  RewriteRule ^/(.*)         http://www.domain.tld/$1 [L,R]

  [Other commands at will]

</VirtualHost>

Roland.
-- 
Roland Mas

M-x execute-extended-command


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to