Hello,
I have some probs with a rewriting rule, and I don't know if I wrote the rule correctly.
I want rewrite the URL http://slbldap as https://www.s2-gateway.sema.slb.com and I create this entry in my squidguard conf file:
rewrite slbldap {
s@.*slbldap/$@https://www.s2-gateway.sema.slb.com@i
log slbldap.log
}
then in my default acl I have:
acl {
default {
pass !audio-video !custom !local !porn !warez !violence !ads all
rewrite slbldap
redirect http://172.18.221.242/empty.html
}
}
Is it correct?
I recreate the db (but I don't know if it's necessary in this case) and I've restarted squid, but unfortunately the rewriting process doesn't work, I have the same URL I typed.
any hints?
thanks in advance,
Fausto Saporito
