Dear Christopher,

Thank you for your reply.

Our circumstances are so old, sorry. I want to renew them, but it seems to
be difficult for these errors for now.

>  This might not be the best list to ask about mod_proxy_http, but there
> are some people who probably have good experience with it here.

Thank for guiding to the mailing list and I'll post about my situation.


2016-03-11 10:49 GMT+09:00 Christopher Schultz <ch...@christopherschultz.net
>:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Kenchi,
>
> On 3/10/16 8:25 PM, Kenichi MASUDA wrote:
> > Thank you for your reply and I'm sorry for less information.
> >
> >> how are you connecting httpd -> Tomcat?
> >>
> > A client sends a request to httpd which listens as 80, after that
> > httpd throw it like this to the tomcat which exists in backend and
> > serves as 8080 port with the rewrite rule.
> >
> > RewriteCond %{REQUEST_URI}
> > !\.(png|jpe?g|gif|css|js|xml|json|jsonp|ico|html?|swf|txt)$
> > RewriteRule ^/(.*)$ http://localhost:8080/core/$1 [P,L]
>
> So you are using mod_proxy_http.
>
> > The error is: httpd log say that "proxy: Error reading from remote
> > server returned by"
> >
> > and
> >
> > a client say that "502 proxy error. The proxy server received an
> > invalid response from an upstream server. The proxy server could
> > not handle the request POST /foo/bar"
> >
> > After having checked that error occurred, I've downgraded the
> > tomcat version to 7.0.39 (the version which I used to use), so that
> > the error disappeared.
>
> That is a very old Tomcat version indeed (more than 3 years old). You
> would be better upgrading to latest Tomcat 7.0.68 and figuring out
> what's wrong with the proxy.
>
> This might not be the best list to ask about mod_proxy_http, but there
> are some people who probably have good experience with it here.
>
> The best place to ask about mod_proxy_http would be on the httpd
> user's list:
> http://httpd.apache.org/lists.html#http-users
>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iEYEARECAAYFAlbiJEYACgkQ9CaO5/Lv0PA2KACfbdp4wR3rXQcJ82jEK/GWLls7
> /EUAoLpT6SzzPYoyZYF1Zh/481dnCvLt
> =hiN1
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


-- 
mailto:masu...@gmail.com

Reply via email to