Re: [SQU] cgi and ? in URL's

From: Duane Wessels <wessels@dont-contact.us>
Date: Tue, 31 Oct 2000 11:22:07 -0700 (MST)

On Tue, 31 Oct 2000, Kristian Vilmann wrote:

> Hi all,
>
> I'm certain this a FAQ, but i can't find it :(
>
> I'm setting up a new squid-server.
>
> When I try to access an URL with ? or cgi in it, I get an error saying
> that squid could not resolve the hostname:
>
>
> The requested URL could not be retrieved
>
> While trying to retrieve the
> URL: http://www.sslug.dk/billeder/?stext=linux&view=0
>
> The following error was encountered:
> Unable to determine IP address from host name for www.sslug.dk
>
>
> But if I try http://www.sslug.dk/ it works fine.
>
> What am I forgetting?
>
> The squidserver is behind a firewall. On the outside of the firewall I
> also have a Squid, that get all external requests.
>
> Requests with ? or cgi in the URL never gets through to the externsal
> proxy.

You probably need to add some "never_direct" configuration lines.

Try this:

        acl all src 0/0 # this may already be defined
        never_direct allow all

The squid.conf comments for never_direct have some examples as well.

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Tue Oct 31 2000 - 11:24:16 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:56:04 MST