Slaptijack Title

Using Redis for PHP Session Storage

by Scott Hebert
I have written previously regarding using Redis for Magento session storage. You can get the same benefits of using Redis for session storage (reduced disk I/O, automatic key eviction) for any PHP application by making a quick change to a couple of settings in your php.ini. I assume you already h...

Read More →

Bypass RBL Check in Exim

by Scott Hebert
Although I do not use Exim myself, I have clients that do. Recently, we noticed that it was taking more than 20 seconds for their SMTP banner to display when initiating checks from the monitoring server. Connecting to the server locally (on any interface IP address) did not suffer the same slow ...

Read More →

Enable gzip in Nginx

by Scott Hebert
If you have ever used any tool to optimize a web page, you know that compressing the return traffic to the client is a big win. In nginx, this is done with the gzip module. The easiest thing to do is add gzip on; to the http stanza in your nginx.conf and be done with it. By default, this will ena...

Read More →

Magento Home Page Returns 404 Status Code

by Scott Hebert
Naturally, I ran into this problem in the middle of the night when the client was asleep and I had no access to the Magento administrative interface. The short story is that after running a re-index of the site, the home page began returning a 404 error status. A bit of Googling indicated we were...

Read More →

Working Around EVE-KILL + Cloudflare Block

by Scott Hebert
I've got some code that generates loss reports for EVE Online. It uses the EVE-KILL API and Python's urllib2 library. Near the end of October 2015, I noticed that my calls to the API were returning a 403: Forbidden error from the server. I didn't realize it at the time, but EVE-KILL uses Cloudfla...

Read More →