On Mon, 15 Jun 2009 02:23:38 +0700, "tommy_at_buaya.or.id" <tommy_at_buaya.or.id>
wrote:
> dear all...
>
> i trying to caching youtube in my openbsd 4.5 box, with
> squid-2.7-stable-3, but i found this error :
>
> squid -k parse
>
> 2009/06/15 02:17:16| squid.conf line 40: acl store_rewrite_list
> url_regex ^http://(.*?)/get_video\?
(.*?) is invalid.
? means individual item preceeding may not exist.
.* means entire string of individual characters which may have zero length.
I'm not sure what its supposed to be. (.*)? is a more valid regex, but a
non-existent domain in a FQDN is not valid HTTP.
that probably wants to be ([a-z0-9\-]*\.)*([a-z0-9\-])?
or just (.*)
Amos
> 2009/06/15 02:17:16| aclParseRegexList: Invalid regular expression
> '^http://(.*?)/get_video\?': repetition-operator operand invalid
> 2009/06/15 02:17:16| aclParseAclLine: WARNING: empty ACL: acl
> store_rewrite_list url_regex ^http://(.*?)/get_video\?
> 2009/06/15 02:17:16| squid.conf line 41: acl store_rewrite_list
> url_regex ^http://(.*?)/videodownload\?
> 2009/06/15 02:17:16| aclParseRegexList: Invalid regular expression
> '^http://(.*?)/videodownload\?': repetition-operator operand invalid
>
> something wrong with this regex? please help me...
>
>
> regards,
>
> tommy
Received on Sun Jun 14 2009 - 22:42:41 MDT
This archive was generated by hypermail 2.2.0 : Mon Jun 15 2009 - 12:00:03 MDT