Re: [squid-users] Re: redirect access to wpad.dat

From: Henrik Nordstrom <[email protected]>
Date: Wed, 20 Sep 2006 14:37:48 +0200

tis 2006-09-19 klockan 23:01 -0400 skrev dny:

> can i put this in squid.conf ??
>
> acl wpad url_regex -i \wpad.dat$
> http_access deny wpad
> deny_info myownwpad.dat
>
> any suggestion?

Probably not.. I don't thing browsers will accept pac files as errors,
and probably will be confused if you send them a client side redirect as
well..

What you can do is to send the request to your own HTTP server. Either
with request level routing using cache_peer + cache_peer_access, or a
url rewriter rewriting the URL.

Regards
Henrik

Received on Wed Sep 20 2006 - 06:37:58 MDT

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