[squid-users] Old squid redirect

From: Adam Squids <reversesquid_at_gmail.com>
Date: Tue, 4 May 2010 18:06:30 +0300

Hey all,

Using an old Squid 2.5.S10 setup. Trying to redirect mobile
user-agents to a WAP company that handles the mobile version of my
Read a bit about how to do this and got something like :

acl Mobile browser -i
acl site dstdomain www.MyWebPage.com
http_access deny site Mobile
deny_info http://wap.mobilepage.mobi?__h=%{HTTP_HOST}&__p=%{REQUEST_URI}&%{QUERY_STRING}

I know that the regex seems odd and insane, but it works (in Apache's
conf that works / tested great).

Once I did that, nothing from my original configs worked, had to
rollback and remove that snippet.

A) How can I make this work with my current 2.5 ? - I also have a
local Apache that gets requests redirected from Squid, but I rather
not use it.
B) I am about to upgrade to Squid 2.7, will that become easier then?

Thanks a million,

Received on Tue May 04 2010 - 15:06:38 MDT

This archive was generated by hypermail 2.2.0 : Wed May 05 2010 - 12:00:04 MDT