Category Archives: Web Serving

Debugging high Roundcube server load

Recently I’ve been attempting to fix a problem with high load on a server that is dedicated to serving Roundcube Webmail. The load issue appeared after migrating users off Squirrelmail and onto Roundcube. The symptoms are: high load average and … Continue reading

Posted in Mail, Web Serving | Tagged , | 2 Comments

Using mod_deflate to save bandwidth and traffic charges

If you’re running a web server using Apache 2.x and Ubuntu or Debian, you can save a lot of bandwidth by turning on mod_deflate. So just how does it work and how much data can you actually save? To use … Continue reading

Posted in Tips, Web Serving | Tagged , , | Leave a comment

Neat charts for web applications

I’ve been writing a web application recently and wanted to add some graphs to represent my data. I started by using PEAR::Image_Graph but wasn’t happy with the look of the graph. Then I came across amCharts. They are really spiffy … Continue reading

Posted in Tips, Web Serving | Leave a comment

Blocking websites (and annoying ads) with Squid

A couple of websites that I visit have annoying auto-loading flash adverts. They annoy me so much that I decided I would figure out how to block them using my Squid proxy server. It’s actually quite straightforward. First, edit /etc/squid/squid.conf … Continue reading

Posted in Tips, Web Serving | Leave a comment

84 tips for improving MySQL performance

DebianHelp has 84 tips for improving MySQL performance. If you run MySQL in a large scale environment, you will probably find them very handy.

Posted in Tips, Web Serving | Leave a comment

Securing PHP in one easy step

If you run PHP on your webserver, you can make it more secure by installing Suhosin. To quote from the Suhosin website: Suhosin is an advanced protection system for PHP installations. It was designed to protect servers and users from … Continue reading

Posted in Tips, Web Serving | 1 Comment

Securing your HTTP headers in Apache and PHP

If you’re running your own webserver and you use Apache and PHP, you may be sending out detailed header information that could be useful to an attacker. A default Debian Etch installation with Apache/PHP sends out headers like the following: … Continue reading

Posted in Tips, Web Serving | Leave a comment