Re: Httpd vhosts and ProxyPass/ProxyPassReverse and AJP - am I on crack?

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

 



On Nov 26, 2012, at 2:37 PM, Dave Shevett <shevett@xxxxxxxxx> wrote:
> 
> Here's what I have now, and it's not working correctly.
> 
> <VirtualHost *:80>
>        ServerName www.FOO.com
>        ServerAlias FOO.com
> 
>        ProxyRequests Off
> 
>        # Working, live production host:
>        ProxyPass /a/ ajp://10.211.42.48:8009/
>        ProxyPassReverse /a/ http://FOO.com/
> 
>        # app test host
>        ProxyPass /c/ ajp://10.122.95.146:8009/
>        ProxyPassReverse /c/ http://FOO.com/
> </VirtualHost>
> 
> The first Proxy configuration is working correctly.  Requests coming into /a/ go to the server on 10.211.42.48.  No worries.  But hitting the second address will end me back up at /a/ - I'm guessing because there are essentially two ProxyPassReverse's for the same url (http://FOO.com).
> 

Do you mean that

   http://FOO.com/a/   goes to  ajp://10.211.42.48:8009/

But

   http://FOO.com/c/ DOES NOT go to ajp://10.122.95.146:8009/

but instead goes to ajp://10.211.42.48:8009/ ??


---------------------------------------------------------------------
To unsubscribe, e-mail: users-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