Re: [us...@httpd] Alias for htaccess

2009-12-22 Thread Jaap A. Haitsma
Thanks for your help. It now works like a charm Jaap On Mon, Dec 21, 2009 at 15:58, Eric Covener wrote: > On Mon, Dec 21, 2009 at 9:56 AM, André Warnier wrote: > >>> RewriteCond %{HTTP_HOST} ^(www\.)maindomain.com$ >> >> or rather : >> RewriteCond %{HTTP_HOST} ^(www\.)?maindomain.com$ > > yep >

Re: [us...@httpd] Alias for htaccess

2009-12-21 Thread Eric Covener
On Mon, Dec 21, 2009 at 9:56 AM, André Warnier wrote: >> RewriteCond %{HTTP_HOST} ^(www\.)maindomain.com$ > > or rather : > RewriteCond %{HTTP_HOST} ^(www\.)?maindomain.com$ yep -- Eric Covener cove...@gmail.com - The officia

Re: [us...@httpd] Alias for htaccess

2009-12-21 Thread André Warnier
Eric Covener wrote: On Mon, Dec 21, 2009 at 7:12 AM, Jaap A. Haitsma wrote: Hi, I know you cannot use the Alias directive in htaccess but I was wondering if I can achieve something similar to that. I have the following problem. With my hosting provider I can add more domains to my main domain

Re: [us...@httpd] Alias for htaccess

2009-12-21 Thread Eric Covener
On Mon, Dec 21, 2009 at 7:12 AM, Jaap A. Haitsma wrote: > Hi, > > I know you cannot use the Alias directive in htaccess but I was > wondering if I can achieve something similar to that. > > I have the following problem. With my hosting provider I can add more > domains to my main domain with which

[us...@httpd] Alias for htaccess

2009-12-21 Thread Jaap A. Haitsma
Hi, I know you cannot use the Alias directive in htaccess but I was wondering if I can achieve something similar to that. I have the following problem. With my hosting provider I can add more domains to my main domain with which I registered. However they have to be in subdirectories To be more