Hi,
I am trying to do the following:
only if referer=external then run the external_acl helper
then, run the url_rewrite helper in any case
This seems to work:
external_acl_type filter %PATH /path/to/filter
acl filter external filter
acl our_referer referer_regex oursite.com
http_access allow !our_referer filter
url_rewrite_program /path/to/rewrite
...
url_rewrite_access allow all
Is it ok or is there a better way?
Also, is there a way to pass 2 variables to the external_acl helper; like "%PATH %{Hdr:Referer}"?
Thx,
JD
Received on Tue Aug 26 2008 - 11:53:40 MDT
This archive was generated by hypermail 2.2.0 : Tue Aug 26 2008 - 12:00:04 MDT