[squid-users] custom url_rewrite_program

From: Al - Image Hosting Services <azick_at_zickswebventures.com>
Date: Mon, 1 Mar 2010 14:26:21 -0600 (CST)

Hi,

I could not get a rewriter that would do the things we wanted, so we wrote
our own. It uses mysql as the database for its list, which is great
because I can now update mysql and instantly you can see the change in
what is being blocked and what is not. The issue we have is that if the
mysql server goes down then the rewrite program tries to reconnect, but if
it can't it dies. Ideally, if it could not connect to mysql then it would
send a url of an error page, then try to reconnect on the next request. My
question is, how long will squid wait for the rewrite program before it
will kill the process and start a new one?

Maybe someone has a better idea on how to deal with this.

Best Regards,
Al
Received on Mon Mar 01 2010 - 20:26:25 MST

This archive was generated by hypermail 2.2.0 : Fri Mar 05 2010 - 12:00:03 MST