sysadmin

Excluding IPs from HTTP auth when Apache is behind Varnish

I had a situation whereby I had to protect a site with HTTP auth, but exclude a certain IP address or two from having to use HTTP auth (e.g loadtesting).

The problem was, the site was also behind a Varnish proxy. So I couldn't do 'Allow from (ip)' in the Apache settings, because the IP would always be the IP address of the Varnish server at this point.

And obviously, I couldn't 'Allow from (varnish ip)' because that's the same as not having any HTTP auth at all :)

An interesting read on Imposter Syndrome

James Turnbull (well-known Australian sysadmin, author and Puppet developer) has written a very interesting article on Imposter Syndrome and his own battles with it.

NoClassDefFoundError on Solr replication slave

I've recently been working on a project for a client that required Solr 3.4 (which we implemented using these packages for Ubuntu 10.04)

Additionally, in production we've implemented two solr servers in replication (one master, one slave).

Having never done this before, I followed the example in the solrconfig.xml that was commented out, as well as .

Pages

Subscribe to RSS - sysadmin