Posts Tagged ‘ apache ’

How to make an automated connection checker and IP blocker for your server

Mar 23rd, 2013 | By

I like to think of it as a door man for my server, or my little centurion  What this little guy does is checked the last 5 hours of access logs to your server to see if there are any IP’s that are hitting your server an unusually high amount of times.  If it finds
[continue reading...]



Properly setting up an SSL cert for a site running on a Debian/Linux server with Apache 2.2, mod_ssl and Nginx

Jan 17th, 2013 | By

Well after doing this and redoing it again and spending way too much time re-learning how to do it the second time I’m just going to bite the bullet and take the extra hour to blog about the process so that  next time I can just follow my easy step-by-step guide(and hopefully you can too
[continue reading...]



Preventing a server melt-down and saving resources: Block all Shit bot

Oct 11th, 2012 | By

Alright, I woke up today to a load average of 75.. Seventy-fucking-FIVE.  I didn’t even know that shit was possible and I’m pretty sure the guys at the DC were probably roasting marshmellows over my glowing box.  I couldn’t believe it so into my server I went, waiting 5 minuets for every command I typed
[continue reading...]



phpmyadmin security measures on a Debian webserver

Feb 16th, 2012 | By

Well I had a rude awakening today that clearly showed my FreeBSD upbringing.  You see when you install phpmyadmin on FreeBSD it leaves it up to YOU to create the alias paths and whatnot.  Meaning that if you do nothing the system will remain as secure as possible, in linux the philosophy is very different,
[continue reading...]



Moving a live production web server from Ubuntu 11.04 to Debian 6.0.3

Jan 7th, 2012 | By

So 2 weeks ago I sadly moved my main server from FreeBSD 8.1 to a temporary home on an Ubuntu 11.04 VPS.  I say sadly because I’ve been using BSD for 10 years and in terms of stability and security I understand that it can’t be beat.. I also think I’m sad to see it
[continue reading...]



The difference between a tuned performance BSD webserver and a stock linux webserver

Nov 8th, 2011 | By

First up we have a tuned FreeBSD 8.1 server running Apache 2.2(clearly working up a sweat) 56MB of virtual memory and 40MB of resident memory usage PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 55392 www 1 106 0 56460K 39664K CPU2 2 15:43 50.49% httpd   Follow that up with
[continue reading...]



Lessons learned about speeding up WordPress and an apache webserver in general

Nov 8th, 2011 | By

Alright so I’ve been struggling with this for quite some time.  I run 60-70 wordpress blogs that make up a large network of travel websites providing information on news, restaurants, hotels, events and job postings for every major city in north america.  Chances are if you’ve searched one of those things for a particular city
[continue reading...]



Install Mod_security, deinstall mod_security and now ALL sites loading 403 error

Feb 13th, 2011 | By

Well this was a stupid ass wacky problem I ran into today.  I installed mod_security on a virtual server with a bunch of clients on it to try to troubleshoot a problem.  mod_sec didn’t fix it so I deinstalled it.  Much to my chagrin after the de-install I get a complaint that someone’s site was
[continue reading...]



FreeBSD 8.1, Zend Optimizer, php52-extensions and the dreaded Segmentation Fault (Core Dumped)

Jan 29th, 2011 | By

So I haven’t slept in 43 hours, it’s been at least 10 years since I’ve pulled this kind of stunt before but as you know from my last blog post here my server blew up and then my lappy blew up, so lots and lots to keep me busy with.. Part of that fun was
[continue reading...]