Category «LAMP»

Protecting Apache against DDoS using Fail2Ban

To protect your LAMP server against brute-force attacks you can use Fail2Ban. It’s a daemon that checks log files and does something if it finds a match according to it’s filters. In it’s simplest configuration it just bans (by adding an iptables rule) an IP address for a period of time. Let’s check it out how we can set it …

Protecting a web directory in Virtualmin

Virtualmin makes it easy to protect websites (or just parts of it) with an email / password combination. The nice thing about it is that you have granular control over which user has access to what. The user doesn’t have to remember a new password, it will simply be his/her old email password. Let’s see how it works! Go to …

dealing with VirtualHosts in XAMPP

If the URL schema of http://localhost/foldername isn’t working for you, or you just want to test the webpages behavior with the live address, you need to configure so called VirtualHosts in Apache. Usually that is done by editing httpd.conf but XAMPP has a different (and much easier) approach to this. Let’s take a look! First …

TortoiseSVN installation and configuration

TortoiseSVN is a windows Subversion client. The really neat thing about it is, that it integrates into windows as a shell extension, meaning that you can easily use it from any kind of file manager you want. Let’s see install it! There are separate 32bit and 64bit versions available for download at this link. If …

Installing and configuring XAMPP

XAMPP is a really versatile web development kit for PHP and/or Perl. It includes Apache, MySQL, PHP, Perl and a lot of other nifty programs, it has a nice control panel, even has an FTP server. Best of all: it is cross-platform. In this how to we will install it and configure it. First of …