Re: [squid-users] Squid Reverse Proxy - Apache - Trailing Slash

From: Chris Robertson <crobertson@dont-contact.us>
Date: Tue, 18 Mar 2008 17:19:35 -0800

Christopher Bianchi wrote:
> Hi, folks.
>
> I'm new to the list and pretty new to Squid as well.
>
> I'm running into a specific problem right now and need some guidance.
>
> As you know, trailing slashes are required for directories and when it is
> omitted from a request, Apache performs a redirect to include the trailing
> slash. This is fine and I understand the necessity.
>
> The problem is that I have Apache (2.0.63) running behind a firewall on
> port 8080. Squid (2.6b18) is the proxy running on port 80.
>
> When Apache receives a directory request without a trailing slash, its
> redirect includes its running port (e.g. http://myserver/dir is redirected
> to http://myserver:8080/dir/). 8080 is user inaccessible and the redirect
> fails.
>
> How do I resolve this?
>

Have squid listen on port 80 AND port 8080.

> Thank you!
> Chris
>

Chris
>
>
Received on Tue Mar 18 2008 - 19:19:57 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Apr 01 2008 - 13:00:05 MDT