Search squid archive

Re: Ignoring query string from url

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxx> 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
>
>


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux