> 2009/1/9 Anders Norrbring <lists@xxxxxxxxxxxx>: > > 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#canonical > host > > But make sure, you're sending a 301 redirect (R=301) for search > engines. > > Bob Thank you so much Bob! Right at the exact spot.. ;-) It works perfectly fine. Anders. --------------------------------------------------------------------- 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: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx