httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anders Norrbring" <li...@norrbring.se>
Subject SV: [users@httpd] rewrite rule ideas needed..
Date Fri, 09 Jan 2009 15:36:17 GMT
> 2009/1/9 Anders Norrbring <lists@norrbring.se>:
> > 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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message