Re: Apache - ProxyPass issue -- pls suggest

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

 



On Sun, Oct 14, 2012 at 12:22 PM, vivek aggarwal
<vicky007aggarwal@xxxxxxxxxxx> wrote:
> Folks,
>
> I am not able to forward the request from apache to tomcat when i am using
> the following configuration for ProxyPass elements :
>
> <VirtualHost *:80>
> ServerName vicky.com
> ProxyPass /    http://localhost:8080/kdah
> ProxyPassReverse /    http://localhost:8080/kdah
> ErrorLog logs/vicky_error.log
> </VirtualHost>
> But its working when i am using the context root(any  string value eg:- /kd
> ) as mentioned below
>
>
> <VirtualHost *:80>
> ServerName vicky.com
> ProxyPass /kd   http://localhost:8080/kdah
> ProxyPassReverse /kd   http://localhost:8080/kdah
> ErrorLog logs/vicky_error.log
> </VirtualHost>
> Please suggest why is it like that ??????
>

Tough to say without a better description of "not able" and thinks
like URL's being used and log entries.

For example -- the first stanza sends /kd/ to /kdah/kd, and the second
stanza sends /kd/ to /kdah/.

Presumably your tomcat doesn't generate the same response for both of
thuse URL's, so only one is going to work.

-- 
Eric Covener
covener@xxxxxxxxx

---------------------------------------------------------------------
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