Re: [us...@httpd] .htaccess redirect issue

2010-05-27 Thread J. Bakshi
On 05/27/2010 05:22 PM, Nilesh Govindarajan wrote: > Guys stop fighting. The problem has been solved. That's all. (.) > > I have already kept myself silence Nilesh. Thanks for your kind clues and also thanks to Tom as he has pointed out some really good links for me. Wish you all a nice time.

Re: [us...@httpd] .htaccess redirect issue

2010-05-27 Thread Nilesh Govindarajan
On Thu, May 27, 2010 at 3:18 PM, Tom Evans wrote: > On Thu, May 27, 2010 at 10:42 AM, J. Bakshi wrote: >> On 05/27/2010 02:59 PM, Tom Evans wrote: >>> On Thu, May 27, 2010 at 10:23 AM, J. Bakshi wrote: >>> Yes, I post here frequently and I get some really nice solution from this list.

Re: [us...@httpd] .htaccess redirect issue

2010-05-27 Thread Tom Evans
On Thu, May 27, 2010 at 10:42 AM, J. Bakshi wrote: > On 05/27/2010 02:59 PM, Tom Evans wrote: >> On Thu, May 27, 2010 at 10:23 AM, J. Bakshi wrote: >> >>> Yes, I post here frequently and I get some really nice solution from >>> this list.  IS it an offense ? >>> >>> >>> >> You don't ever look to

Re: [us...@httpd] .htaccess redirect issue

2010-05-27 Thread J. Bakshi
On 05/27/2010 02:59 PM, Tom Evans wrote: > On Thu, May 27, 2010 at 10:23 AM, J. Bakshi wrote: > >> Yes, I post here frequently and I get some really nice solution from >> this list. IS it an offense ? >> >> >> > You don't ever look to see what your solution could be, by using the > resour

Re: [us...@httpd] .htaccess redirect issue

2010-05-27 Thread Tom Evans
On Thu, May 27, 2010 at 10:23 AM, J. Bakshi wrote: > > Yes, I post here frequently and I get some really nice solution from > this list.  IS it an offense ? > > You don't ever look to see what your solution could be, by using the resources provided - eg the excellent manual. You simply ask your o

Re: [us...@httpd] .htaccess redirect issue

2010-05-27 Thread J. Bakshi
On 05/27/2010 02:33 PM, Tom Evans wrote: > On Thu, May 27, 2010 at 9:50 AM, J. Bakshi wrote: > >> On 05/27/2010 01:59 PM, Nilesh Govindarajan wrote: >> >>> I assume that you want to redirect abcd.mydomain.com to >>> www.mydomain.com/?domain=abcd.mydomain.com >>> Considering that scenario a

Re: [us...@httpd] .htaccess redirect issue

2010-05-27 Thread Tom Evans
On Thu, May 27, 2010 at 9:50 AM, J. Bakshi wrote: > On 05/27/2010 01:59 PM, Nilesh Govindarajan wrote: >> I assume that you want to redirect abcd.mydomain.com to >> www.mydomain.com/?domain=abcd.mydomain.com >> Considering that scenario and limiting subdomains only to >> mydomain.com, the followin

Re: [us...@httpd] .htaccess redirect issue

2010-05-27 Thread J. Bakshi
On 05/27/2010 01:59 PM, Nilesh Govindarajan wrote: > I assume that you want to redirect abcd.mydomain.com to > www.mydomain.com/?domain=abcd.mydomain.com > Considering that scenario and limiting subdomains only to > mydomain.com, the following rule works (I've tested them on my > server): > > Rewri

Re: [us...@httpd] .htaccess redirect issue

2010-05-27 Thread Nilesh Govindarajan
On Thu, May 27, 2010 at 1:45 PM, J. Bakshi wrote: > On 05/27/2010 01:14 PM, Nilesh Govindarajan wrote: >> On Thu, May 27, 2010 at 12:25 PM, J. Bakshi wrote: >> >>> On 05/27/2010 12:16 PM, J. Bakshi wrote: >>> Hello list, I am trying to achieve a very particular .htaccess redirect a

Re: [us...@httpd] .htaccess redirect issue

2010-05-27 Thread J. Bakshi
On 05/27/2010 01:14 PM, Nilesh Govindarajan wrote: > On Thu, May 27, 2010 at 12:25 PM, J. Bakshi wrote: > >> On 05/27/2010 12:16 PM, J. Bakshi wrote: >> >>> Hello list, >>> >>> I am trying to achieve a very particular .htaccess redirect arrangement. >>> I have made it worked but halfway :-

Re: [us...@httpd] .htaccess redirect issue

2010-05-27 Thread Nilesh Govindarajan
On Thu, May 27, 2010 at 12:25 PM, J. Bakshi wrote: > On 05/27/2010 12:16 PM, J. Bakshi wrote: >> Hello list, >> >> I am trying to achieve a very particular .htaccess redirect arrangement. >> I have made it worked but halfway :-( >> >> I have written a redirect rule as >> >> ` >> Re

Re: [us...@httpd] .htaccess redirect issue

2010-05-26 Thread J. Bakshi
On 05/27/2010 12:16 PM, J. Bakshi wrote: > Hello list, > > I am trying to achieve a very particular .htaccess redirect arrangement. > I have made it worked but halfway :-( > > I have written a redirect rule as > > ` > RewriteCond %{HTTP_HOST} ^testyou.mydomain.com > RewriteRule ^(.*

[us...@httpd] .htaccess redirect issue

2010-05-26 Thread J. Bakshi
Hello list, I am trying to achieve a very particular .htaccess redirect arrangement. I have made it worked but halfway :-( I have written a redirect rule as ` RewriteCond %{HTTP_HOST} ^testyou.mydomain.com RewriteRule ^(.*)$ http://www.mydomain.com\?domain=testyou.mydomain.com [R