negative regexp in Squirm (for Squid). Possible ?
- by alex8657
Did someone achieve to do negative regexp (or part of) with Squirm ?
I tried negative lookahead things and ifthenelse regexps, but Squirm 1.26 fails to understand them.
What i want to do is simply:
* If the url begins by 'http://' and contains 'account', then rewrite/redirect to 301:https://
* It the url begins by 'https://' and does NOT contains 'account, then rewrite/redirect to 301:http://
So far, i do that using 2 lines of perl, but squirm redirectors would take less memory