Weird result with apache vs lighttpd in reverse proxy.
Posted
by northox
on Stack Overflow
See other posts from Stack Overflow
or by northox
Published on 2010-03-25T03:11:58Z
Indexed on
2010/03/25
3:43 UTC
Read the original article
Hit count: 308
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