Re: [us...@httpd] URL re-writing problem

2009-12-23 Thread vijay shanker
Thanks guys for your suggestions. In mean time i have got a good link describing many situations. These situations I believe has many takers. http://httpd.apache.org/docs/2.0/misc/rewriteguide.html Regards, Vijay Shanker Dubey On Wed,

Re: [us...@httpd] URL re-writing problem

2009-12-22 Thread Igor Cicimov
Only this %(HTTP_HOST) should be in curly brackets On Wed, Dec 23, 2009 at 1:51 AM, Oliver Schoenborn wrote: > Vijay, > If you have a small number of subdomains, I would try, for each one: > > >ServerName subdomainN.domain.com >ProxyRequests off >ProxyPass / http://domain

RE: [us...@httpd] URL re-writing problem

2009-12-22 Thread Oliver Schoenborn
Vijay, If you have a small number of subdomains, I would try, for each one: ServerName subdomainN.domain.com ProxyRequests off ProxyPass / http://domain.com/key/subdomainN ProxyPassReverse / http://domain.com/key/subdomainN Otherwise I would try a rewrite rule such