[squid-users] instead of access denied im getting null://

From: Eliezer <eliezer_at_ec.hadorhabaac.com>
Date: Thu, 17 Feb 2011 17:57:18 +0200

using squid 3.1.10

i have an acl to block specific domains from a text file

the acl and file..

acl blocked dstdom_regex "/etc/squid3/block.txt"

http_access deny blocked

part of the file:

(^|\.)xxx\.com$
(^|\.)xx1\.com$

etc..
all the same and some others with subdomain such as
(^|\.)xxx\.xx\.com$

and when the domain is the same as in the acl im gettins this:

  ERROR

    The requested URL could not be retrieved

------------------------------------------------------------------------

The following error was encountered while trying to retrieve the URL:
http://xxx.com/ <http://zedo.com/>

    *Access Denied.*

Access control configuration prevents your request from being allowed at
this time. Please contact your service provider if you feel this is
incorrect.

Your cache administrator is webmaster
<mailto:webmaster?subject=CacheErrorInfo%20-%20ERR_ACCESS_DENIED&body=CacheHost%3A%20croitoru%0D%0AErrPage%3A%20ERR_ACCESS_DENIED%0D%0AErr%3A%20%5Bnone%5D%0D%0ATimeStamp%3A%20Thu,%2017%20Feb%202011%2015%3A48%3A01%20GMT%0D%0A%0D%0AClientIP%3A%20192.168.10.100%0D%0A%0D%0AHTTP%20Request%3A%0D%0AGET%20%2F%20HTTP%2F1.1%0AHost%3A%20zedo.com%0D%0AUser-Agent%3A%20Mozilla%2F5.0%20%28Windows%3B%20U%3B%20Windows%20NT%206.0%3B%20en-US%3B%20rv%3A1.9.2.13%29%20Gecko%2F20101203%20Firefox%2F3.6.13%0D%0AAccept%3A%20text%2Fhtml,application%2Fxhtml+xml,application%2Fxml%3Bq%3D0.9,*%2F*%3Bq%3D0.8%0D%0AAccept-Language%3A%20en-us,en%3Bq%3D0.5%0D%0AAccept-Encoding%3A%20gzip,deflate%0D%0AAccept-Charset%3A%20ISO-8859-1,utf-8%3Bq%3D0.7,*%3Bq%3D0.7%0D%0AKeep-Alive%3A%20115%0D%0AConnection%3A%20keep-alive%0D%0ACookie%3A%20ZEDOIDX%3D29%3B%20FFgeo%3D459853%3B%20ZEDOIDA%3DtEJdTbZPxAj%40d28zHReoRw3L%7E021711%3B%20FFcat%3D187,234,94%3A1237,154,8%3B%20FFad%3D0%3A0%3B%20FFChanCap%3D1508B1237,154%23894503%7C0,1,1%3B%20LOOPFUSE%3D4c55829e-c26c-4729-8bda-2321d6487595%0D%0A%0D%0A%0D%0A>.

but if im trying to get to a subdomain such as: www.xxx.com

  ERROR

    The requested URL could not be retrieved

------------------------------------------------------------------------

The following error was encountered while trying to retrieve the URL:
(null)://www.xxx.com/ <http://www.zedo.com/%28null%29://www.zedo.com/>

    *Invalid URL*

Some aspect of the requested URL is incorrect.

Some possible problems are:

    *

      Missing or incorrect access protocol (should be "http://" or similar)

    *

      Missing hostname

    *

      Illegal double-escape in the URL-Path

    *

      Illegal character in hostname; underscores are not allowed.

Your cache administrator is webmaster
<mailto:webmaster?subject=CacheErrorInfo%20-%20ERR_INVALID_URL&body=CacheHost%3A%20croitoru%0D%0AErrPage%3A%20ERR_INVALID_URL%0D%0AErr%3A%20%5Bnone%5D%0D%0ATimeStamp%3A%20Thu,%2017%20Feb%202011%2015%3A47%3A21%20GMT%0D%0A%0D%0AClientIP%3A%20192.168.10.100%0D%0A%0D%0AHTTP%20Request%3A%0D%0A%0D%0A%0D%0A>.

means it's blocking but something is wrong with the squid.

this is more information then the last time i got the "null" thing.

Thanks Eliezer
Received on Thu Feb 17 2011 - 15:57:27 MST

This archive was generated by hypermail 2.2.0 : Thu Feb 17 2011 - 12:00:05 MST