On 08/07/2011 09:49 AM, Eric Lemoine wrote:
How about this case:
The backend server has two virtual hosts, one serving "app1" and the
other one serving "app2". The proxy server makes "app1 and "app2"
available at http://proxy.com/app1 and http://proxy.com/app2,
respectively. In that case you cannot have the proxy pass the Host
header, because the backend server wouldn't be able to determine if
the request should be directed to "app1" or "app2".
The frontend server can pass those to the backends as http://app1/app1
and http://app2/app2 . The backend server can do its URL-thing normally
then, and having the Host header send on unmodified does not hurt either.
Wichert.
--
You received this message because you are subscribed to the Google Groups
"pylons-devel" group.
To post to this group, send email to pylons-devel@googlegroups.com.
To unsubscribe from this group, send email to
pylons-devel+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/pylons-devel?hl=en.