Slaptijack Title

Archive for the ‘System Administration’ Category

Using Redis for PHP Session Storage

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 →

Categories: System Administration

Bypass RBL Check in Exim

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 →

Categories: System Administration

Enable gzip in Nginx

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 →

Categories: System Administration

Magento Home Page Returns 404 Status Code

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 →

Categories: System Administration

MacPorts: upgrade gnutls failed

I ran into this issue while trying to install wine-devel on my Mid 2012 MacBook Pro running El Capitan and MacPorts 2.3.4. As the install progressed, here is the error I got: This appears to be a known bug with the MacPorts glib2 port. Commenters on that link suggest that re-installing sqlite3 ...

Read More →

Categories: System Administration