[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: certificate server

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]


Roland Mas

M-x execute-extended-command

Reply to: