Srinivas B wrote:
> Hi All,
>
> I need URL redirect for a particular url_regex.
>
> I have my squid.conf to include below lines
>
> acl rewrite url_regex <pattern1>
> acl rewrite url_regex <pattern2>
> url_rewrite_access allow rewrite
> url_rewrite_program <path to script>
>
> I want to know, what are the variables passed to script. I want to
> redirect depending upon the domain name it receives. also where can I
> find sample scripts on redirects.
>
> Thanks
>
These are all answered in the FAQ.
http://wiki.squid-cache.org/SquidFaq/SquidRedirectors
Chris
Received on Tue Sep 25 2007 - 16:17:38 MDT
This archive was generated by hypermail pre-2.1.9 : Mon Oct 01 2007 - 12:00:03 MDT