On Thu, Jun 19, 2008 at 1:20 AM, luke devon <[EMAIL PROTECTED]> wrote:
> Dear Friends,
>
> In squid URL-rewriting , I wanted to add some third party
> parameters to the URL and wanted to filtered out IP which assigned for
> client ( Client -IP ). Rather than having a shell script , I supposed to do a 
> perl script for that purpose . But it seems bit tricky, How can I do this ? 
> and is there any examples
> exist in perl language to write url-redirect programs for squid-cache ?
>
> http://wiki.squid-cache.org/SquidFaq/SquidRedirectors
>
> URL ip-address/fqdn ident method
>
> How can we fitered out ip-address in the url , it is in the second place of 
> the url .
>

Luke,

Since this isn't a squid list, why don't you give us some sample data,
or at least explain what "in the second place of the url" means. Does
that mean that all urls have the ip prepended? If so, then just do
something like:

s#198\.215\.150\.3#000.000.255.1#

HTH,

-- j
--------------------------------------------------
This email and attachment(s): [ ] blogable; [ x ] ask first; [ ]
private and confidential

daggerquill [at] gmail [dot] com
http://www.tuaw.com http://www.downloadsquad.com http://www.engatiki.org

values of β will give rise to dom!

Reply via email to