Re: mass proxying via mod_rewrite

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Apache users/experts,

1) Is there an equivalent of ProxyPassMatch for Apache 2.0? (I don't have the option to upgrade to 2.2).

2) While ProxyPassMatch seems to satisfy half my problem, I am wondering how I can implement the following:

Proxy www.clientX.com to http://clients.company.com/clientXname (but the main company URL shouldn't be proxied).

3) Is the following allowed?
ProxyPass http://www.company.com !

Any inputs or suggestions on my original mail are appreciated.

On Mon, Nov 8, 2010 at 11:37 PM, Sai A <arialwinds@xxxxxxxxx> wrote:
Hey Nick,

Thanks for the reply. I didn't know about ProxyPassMatch. I am using Apache 2.0 (I forgot to mention that in my original mail) and I couldn't see ProxyPassMatch in that. I however found a ProxyMatch directive in that, would that work for this need? I'd have about 5k client URLs.


On Mon, Nov 8, 2010 at 11:23 PM, Nick Kew <nick@xxxxxxxxxxxx> wrote:
On Mon, 8 Nov 2010 23:14:54 +0530
Sai A <arialwinds@xxxxxxxxx> 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-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux