On Mon, 8 Nov 2010 23:14:54 +0530
Sai A <arialwi...@gmail.com> wrote:

> Hi Apache users/experts,
> 
> I am trying to achieve proxying using mod_rewrite.

That seems to be your mistake.

 I am trying to do the
> following mappings:
> Let www.company.com/foo/bar remain as such
> Let all special subdomains.company.com/foo/bar remain as such
> Proxy www.client1.com/admin to http://admin.company.com/client1name
> Proxy www.client1.com to http://clients.company.com/client1name

Keep it simple.  A single ProxyPassMatch does that.

-- 
Nick Kew

---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to