Re: cgi-bin & ? in urls

From: Jens-S. Voeckler <voeckler@dont-contact.us>
Date: Tue, 25 Jan 2000 11:31:06 +0100

Yoram Givon schrieb:

> sorry...
> my problem is this:
> i have a squid server 2.2.STABLE1 behind firewall so i use this lines:
>
> acl all src 0.0.0.0/0.0.0.0
> acl local_servers dstdomain ericsson.se
> acl CGI url_regex -i ?
>
> http_access allow all
>
> never_direct allow all
> never-direct allow CGI

Use underscore, not dash.

> always_direct allow local_servers
> prefer_direct off
>
> however every url that has a ? sign in it takes a long time to fetch.
> i think that the squid is first trying to fetch it directly and after the
> time out goes to the cache_peer.

So, what does your "hierarchy_stoplist" say? If it is commented out,
it defaults to "cgi-bin" and "?". So, every URL with ? tries to go
directly... Explicitely set it to nothing or some improbable junk.

--
Le deagh dhùrachd,
Dipl.-Ing. Jens-S. Vöckler (voeckler@rvs.uni-hannover.de)
Institute for Computer Networks and Distributed Systems
University of Hanover, Germany; +49 511 762 4726
Received on Tue Jan 25 2000 - 07:26:40 MST

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