Apache vs Lighttpd: Weird behavior in reverse proxy mode.
Posted
by northox
on Server Fault
See other posts from Server Fault
or by northox
Published on 2010-03-25T14:50:04Z
Indexed on
2010/03/25
14:53 UTC
Read the original article
Hit count: 382
Context: 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.
Goal: I'm trying to replace the reverse proxy with Lighttpd.
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).
Question: 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.
© Server Fault or respective owner