Barack Obama - Change Can Happen!
 
Obama '08
Black Friday: deals cause total carnage
headline »
Sun, 30/11/08 – 23:09 | Comments

When I was younger I worked retail, and I remember dreading the holiday season; we’d be completely busy, and customers were never ruder.  I’ve seen ads poking fun at rabid crowds trying to break down doors before stores open to get the latest deals around the holidays, and it’s always some comment about how the [...]

Read the full story »
art

geek

howto

music

politics

Home » Archive by Tags

Articles tagged with: varnish

Reasons to use a web proxy in a production enviroment
Tuesday, 29 Jul, 2008 – 18:52 | Comments
Reasons to use a web proxy in a production enviroment

NOTE: at work I installed a web proxy to separate internal user traffic from external traffic hitting our production servers.  While I’m not part of the network team, they asked me to do this because of my prior experience and interest in such things.  The idea of this was to be a temporary fix until [...]

HOWTO: use monit to keep Lighttpd and Varnish running
Tuesday, 19 Feb, 2008 – 13:51 | Comments
HOWTO: use monit to keep Lighttpd and Varnish running

Thanks to a post from Steve over at debian-administration.org, I finally got around to setting up monit, the little monitoring app we use at work to keep things sane.  I was getting around to installing it at home, but it became more urgent when Varnish went down last week; without it running there’s nothing to [...]

HOWTO: log the user’s IP, not the proxy’s, in Lighttpd access log
Wednesday, 9 Jan, 2008 – 10:17 | Comments
HOWTO: log the user’s IP, not the proxy’s, in Lighttpd access log

When you run a webserver behind a reverse proxy or HTTP accelerator like Squid or Varnish, the webserver access logs will display the IP of the proxy (generally 127.0.0.1) instead of the end user’s IP.  This not only breaks any kind of tracking or reporting you want to run against your webserver logs, but it [...]