2009/1/9 Anders Norrbring <[email protected]>:
> But how can I create a setup that will simple add www to any of the valid
> ServerAlias names listed in the virtual host?  They shall keep the domain
> name part as is, and not rewrite to one name only.

Have a look at the last example of the section "Canonical Hostnames":
http://httpd.apache.org/docs/trunk/rewrite/rewrite_guide.html#canonicalhost

But make sure, you're sending a 301 redirect (R=301) for search engines.

Bob

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [email protected]
   "   from the digest: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to