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

Reply via email to