Search squid archive

Re: Regular Expression

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

 




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

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

  Powered by Linux