Re: [squid-users] Ignoring query string from url

From: nitesh naik <niteshnaik_at_gmail.com>
Date: Mon, 27 Oct 2008 16:11:32 +0530

Henrik,

Is this code capable for handling requests in parallel ?

#!/usr/bin/perl
$|=1;
while (<>) {
    s|(.*)\?(.*$)|$1|;
    print;
}

Regards
Nitesh

On Mon, Oct 27, 2008 at 4:04 PM, Henrik Nordstrom
<henrik_at_henriknordstrom.net> wrote:
> On mån, 2008-10-27 at 10:11 +0100, Matus UHLAR - fantomas wrote:
>> > Write your own url rewriter helper. It's no more than a couple of lines
>> > perl..
>>
>> shouldn't that be storeurl rewriter?
>
> No, since the backend server is not interested in this dummy query
> string an url rewriter is better.
>
> Regards
> Henrik
>
>
Received on Mon Oct 27 2008 - 10:41:36 MDT

This archive was generated by hypermail 2.2.0 : Mon Oct 27 2008 - 12:00:05 MDT