SV: rewrite rule ideas needed..

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

 



> 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


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux