httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] Apache - ProxyPass issue -- pls suggest
Date Sun, 14 Oct 2012 20:07:05 GMT
On Sun, Oct 14, 2012 at 12:22 PM, vivek aggarwal
<vicky007aggarwal@yahoo.co.in> 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@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message