Re: [squid-users] How to receive on port 80, but forward to port 85 on Web Application Server?

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Mon, 27 Sep 2004 10:21:51 +0200 (CEST)

On Sun, 26 Sep 2004, David Yutzy wrote:

> We would like to use Squid as a reverse proxy on port 80, then, setup our
> application server on a single IP, but multiple web sites on differnet ports.

I advice against doing this. Many web applications makes life very
complicated if running on different ports than the official port. This
because the applicaitons (and web servers) sometimes need to render
absolute URLs to themselves and this includes the port number..

> The main reason is to isolate out web sites on seperate ports and/or threads
> so re-starting one application instance doesn't effect the other.

Use one IP per application. Much cleaner.

In both cases use cache_peer to route the requests to the correct web
server application.

Regards
Henrik
Received on Mon Sep 27 2004 - 02:21:57 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Oct 01 2004 - 12:00:03 MDT