Thanks for your help. It now works like a charm Jaap On Mon, Dec 21, 2009 at 15:58, Eric Covener <covener@xxxxxxxxx> wrote: > On Mon, Dec 21, 2009 at 9:56 AM, André Warnier <aw@xxxxxxxxxx> wrote: > >>> RewriteCond %{HTTP_HOST} ^(www\.)maindomain.com$ >> >> or rather : >> RewriteCond %{HTTP_HOST} ^(www\.)?maindomain.com$ > > yep > > -- > Eric Covener > covener@xxxxxxxxx > > --------------------------------------------------------------------- > 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 > > --------------------------------------------------------------------- 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