Skip to main content
  1. Tags/

web

2016


2015


Using ZoneMinder with a Logitech C270 webcam

·274 words·2 mins
For those of you in the market for a cheap webcam for videoconferencing or home surveillance, the Logitech C270 is hard to beat at about $20-25 USD.

2014


2013


Guide to securing apache

·97 words·1 min
I stumbled upon a helpful guide to securing an apache server via Reddit’s /r/netsec subreddit.

2012


2011


2010


Switching from GlusterFS to DRBD and OCFS2

·174 words·1 min
As my uptime reports have shown, and as some of you have reported, my blog’s load time has increased steadily over the past few weeks.

One month with GlusterFS in production

·1153 words·6 mins
As many of you might have noticed from my previous GlusterFS blog post and my various tweets, I’ve been working with GlusterFS in production for my personal hosting needs for just over a month.

2008


Removing news feeds in Horde

·95 words·1 min
If you’ve used newer versions of Horde with Plesk, you have probably noticed the news feed that runs down the left side of the screen.

2007


Slow Horde login process with Plesk

·305 words·2 mins
I’ve seen quite a few situations where the Horde login process can take upwards of 45 minutes to log a user into the webmail interface.

Parsing HTML through PHP in Plesk

·154 words·1 min
Some users will want to parse HTML through the PHP parser because one of their applications requires it, or because they think it’s a good idea.

Hunting down annoying web spiders

·118 words·1 min
We all enjoy having the GoogleBot and other search engine robots index our sites as it brings us higher on search engines, but it’s annoying when some user scrapes your site for their own benefit.

Apache: Disable TRACE and TRACK methods

·60 words·1 min
Lots of PCI Compliance and vulnerability scan vendors will complain about TRACE and TRACK methods being enabled on your server.

Reset the Urchin admin password

·62 words·1 min
Should you find yourself in the situation where you’ve forgotten the Urchin admin password, don’t worry.

Replace Urchin license key / serial number

·78 words·1 min
If something horrible happened to your Urchin license key or you need to replace it with something else, just run this command to change the key:

Install snort and BASE on FreeBSD

·567 words·3 mins
Installing snort from ports on FreeBSD is pretty straightforward, but there are some ‘gotchas’ that you need to be aware of.

MySQL connections in sleep state

·426 words·2 mins
On some servers, you may notice that MySQL is consuming CPU and memory resources when it’s not processing any queries.

Joomla and Plesk permissions

·134 words·1 min
Thanks to a highly awesome technician on my team, we’ve discovered the perfect permissions setup for Joomla and Plesk:

Horde refreshes when logging in

·51 words·1 min
If you find that Horde (with Plesk) keeps refreshing when you attempt to log in, and there are no errors logged on the screen or in Apache’s logs, check the session.

SSL connection to a non-secure port

·57 words·1 min
If you have weird SSL errors and this one appears, you are trying to speak SSL to a daemon that doesn’t understand it:

Disable SSLv2 in Lighttpd

·30 words·1 min
As with most things, turning off SSLv2 in Lighttpd is much easier than in Apache.

Lighttpd proxy to Tomcat

·459 words·3 mins
It seems like lighttpd and Tomcat are at the forefront of what is ‘hot’ these days.

Adjust max_execution_time for Horde in Plesk

·151 words·1 min
Often times, the wonderful webmail application known as Horde will spin out of control and cause unnecessary resource usage and often cause defunct Apache processes to appear.

Forcing HTTPS with PHP

·22 words·1 min
To force HTTPS with a PHP script, just put this snippet near the top:

Finding compromised scripts

·53 words·1 min
If your server is sending out spam because of some bad scripts, hunt that stuff down:

Disabling SSLv2 in Plesk

·59 words·1 min
To disable SSLv2 server-wide on a Plesk server, add this in your /etc/httpd/conf.

Hide Apache Version

·23 words·1 min
If you want to hide the current version of Apache and your OS, just replace

Make Apache logs mimic IIS

·14 words·1 min
To make Apache write logs similar to IIS, toss this into your Apache configuration:

Verify that SSLv2 is disabled

·74 words·1 min
If you’re looking to get PCI/CISP compliance, or you just like better security, disable SSL version 2.

Strip off www from URLs with mod_rewrite

·56 words·1 min
If you need to remove subdomains from the URL that users enter to visit your website, toss this into your VirtualHost directive:

Sum Apache Bandwidth From Logs

·34 words·1 min
If you’re not a fan of scientific notation, use this to calculate the apache bandwidth used from log files in MB:

2006


Raising MaxClients? Change ServerLimit.

·114 words·1 min
Remember, if you raise MaxClients for an MPM in Apache, you must raise the ServerLimit directive, which is normally set to 256 on most servers.