Different result with reverse proxy apache and lighttpd.

Posted by Danny on Stack Overflow See other posts from Stack Overflow or by Danny
Published on 2010-03-25T03:11:58Z Indexed on 2010/03/25 3:13 UTC
Read the original article Hit count: 458

I have an Apache server running in reverse proxy mode in front of a Tomcat java server. It handle HTTP and HTTPS and send those request back and forth to the Tomcat server on an internal HTTP port.

I'm trying to replace the reverse proxy with Lighttpd.

Here's the problem: while asking for the same HTTPS url, while using Apache as the reverse proxy, the Tomcat server redirect (302) to an HTTPS page but with Lighttpd it redirect to the same page in HTTP (not HTTPS).

What does Lighttpd could do different in order to have a different result from the backend server? In theory, using Apache or Lighttpd server as a reverse proxy should not change anything... but it does.

Any idea? I'll try to find something by sniffing the traffic on the backend tomcat server.

© Stack Overflow or respective owner

Related posts about apache

Related posts about lighttpd