See that header in your e-mail ?
In-Reply-To: <[email protected]>
It causes your mail to be part of the thread about Simon's patches.
This is because instead of sending a new e-mail, your preferred to
reply to an unrelated one. Please do not do that in the future, it
makes it harder to follow discussions.
Now concerning your issue :
On Mon, Aug 26, 2013 at 03:54:56PM -0700, Qingshan Xie wrote:
> I tried to use 'ACL -f' to upload the pattern from a file but cannot make it
> work. I configured it as below,
> frontend PUBLIC
> > bind :80
> > acl rec_w7 path_beg -f test.cfg
> > use_backend WAS7-BACKEND if rec_w7
> ......
>
> Here test.cfg is a file containing one pattern as below,
> /abc/
This one works for me (I'm assuming you have "mode http" in your defaults
section).
> It works if I directly code them in as
> frontend PUBLIC
> > bind :80
> > acl rec_w7 path_beg /abc/
> > use_backend WAS7-BACKEND if rec_w7
> ......
And this one as well. I can't reproduce the issue. What version are you
using ? Are you testing with this *exact* pattern ("/abc/") or actually
is this something different ? It could be possible that there is a bug
somewhere in the file parser but /abc/ does not trigger it here. Just
in case there would be some crap such as unprintable characters in your
file, could you please run :
$ od -tx1 test.cfg
Willy