On Fri, Jan 9, 2009 at 6:26 AM, Anders Norrbring wrote:
> Hi.
> I'm looking at a setup with 6 different ServerAlias in the same single
> VirtualHost, and I want a rewrite rule that can rewrite calls missing the
> 'www' part to add that.
>
> Looking at example pages I see that this works for a sing
But this can become tedious if you
have a large number of URLs that you need to do this for.
-Original Message-
From: Bob Ionescu [mailto:bobsie...@googlemail.com]
Sent: Friday, January 09, 2009 6:34 AM
To: users@httpd.apache.org
Subject: Re: [us...@httpd] rewrite rule ideas needed..
20
2009/1/9 Anders Norrbring :
> 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 Hostnam