Re: [squid-users] Regular Expression

From: Manoj_Rajkarnikar <manoj@dont-contact.us>
Date: Mon, 6 Aug 2007 16:59:54 +0545 (NPT)

>>
>> s@http://www.main.example.org/@http://www.example.org/@r
>>
>> should work, but I'm not sure what does the 'r' modifier do... something
>> squidguard-ish ?
>>
>>
>>
> Yes this works fine. If i had a querystring like
>
> s@http://www.main.example.org/blbl/nbblbl/lblbl@http://www.example.org/@r
>
> then the url is only
>
> http://www.example.org/
>
> without the rest. I won't only to rewrite the subdomain into the domain. And the rest of the subdomain should be obtained. In my opinion the 'r' modifier means, that the client get "302 - moved temporarily".
>
> kind regards
>
> Enrico
>
Please someone do explain what does that "r" modifier do. I've searched
books and googled for it but couldn't find any referrence of the "r"
modifier to substitute.

Thanks
Manoj
  --
Received on Mon Aug 06 2007 - 05:15:56 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Sep 01 2007 - 12:00:03 MDT