Posts

Showing posts with the label apache

Trim your Tiny Tiny RSS-reader

The more I use Hibernate in Java the more I love Storm in Python. It is so easy and light weight. A while ago I installed Tiny Tiny RSS on my Ubuntu server and is happy to use it as my RSS reader. First I thought it was slow, but it is easy to fix. Activate the expire module: a2enmod expires Create a file /etc/apache2/conf.d/expires: ExpiresActive On ExpiresByType image/x-icon "access plus 1 weeks" ExpiresByType image/gif "access plus 1 weeks" Finally restart your apache. Your webbrowser will now cache all icons and gif-pictures.

Defense your web server

Afraid of hackers, spammers, script kiddies will take over your Web-site? Want to be a bit safer? In Ubuntu there is an Apache module called mod_defensible who's aim is to block well know attacking sites to reach your web server. The module locks up every host that access your site and check if it is in a blocking database on the net. If thats the case the host will get Error 403 Forbidden, i.e. your server can not be reached. I have been using a similar tool for ssh for a while called deny host . I did not know about mod_defensible until today when I saw a how to for Debian on the how to forge. There are some small differences installing it between Debian and Ubuntu 8.04 (Hardy Heron). The main difference is that it is included in universe. So here is a quick instruction how to install mod_defensible. Login to your webserver and become root using sudo -s Install mod_defensible: apt-get install libapache2-mod-defensible Activate the module: a2enmod defensible Create a configfil...