eXtremer wrote:
> Hi all.
> A few days ago my server died, yesterday I installed and configured again.
> all fine except one deny_info.
> Here is my config:
>
> acl adv url_regex -i "/etc/squid/deny/banner.block"
>
> http_access deny adv
> deny_info http://192.168.1.50/spam/nospam.gif adv
>
> when trying to use the proxy, squid dies sudenly.
>
> here is the cache log:
>
> 2008/02/20 10:14:52| errorTryLoadText:
> '/usr/share/squid/errors/http://192.168.1.50/spam/nospam.gif': (2) No such
> file or dir
> 2008/02/20 10:14:52| errorTryLoadText:
> '/etc/squid/errors/http://192.168.1.50/spam/nospam.gif': (2) No such file or
> directory
> FATAL: failed to find or read error text file.
> Squid Cache (Version 2.5.STABLE1): Terminated abnormally.
>
>
> opening http://192.168.1.50/spam/nospam.gif - every thing is fine, I see the
> icon.
>
>
> Until my proxy server died the deny_info worked fine.
> What's the problem now ? Waiting for a reply.
> Thanks in advance.
>
I would say the problem is imho really simple.
With deny_info you tell squid which errorpage should be displayed.
And as you can see in the log
'/etc/squid/errors/http://192.168.1.50/spam/nospam.gif'
squid tries it.
Making a own errorpage which includes the nospam.gif should solve the
problem
Martin
Received on Tue Feb 26 2008 - 15:57:26 MST
This archive was generated by hypermail pre-2.1.9 : Sat Mar 01 2008 - 12:00:05 MST