Articles by Falko Timme
-
Apache2: How to Redirect Users to Mobile or Normal Web Site Based on Device Using mod_rewrite
Author: Falko Timme • Tags: android, apache, web server • Comments: 13 • Updated: Dec 09, 2022Since the massive rise of mobile devices, smartphones, and tablets like the iPhone, iPad, Android phones and tablets, BlackBerries, etc. you might have considered creating a mobile version of your website. This tutorial explains how to configure Apache to serve the mobile version of your website if the visitor uses a mobile device and the standard version if the visitor uses a normal desktop PC. This can be achieved with Apache's rewrite module.
-
Retrieving Emails From Remote Servers With fetchmail on Debian
Author: Falko Timme • Tags: debian, email, linux • Comments: 9 • Updated: Sep 08, 2022Retrieving Emails From Remote Servers With fetchmail on Debian Linux. Fetchmail is a program for retrieving emails from remote servers. Imagine you have five email accounts on five different servers. Of course, you don't want to connect to each of them to get your emails. This is where fetchmail comes into play. If you have a user account on a Linux server, you can make fetchmail download emails from remote servers and put them into just one mailbox (the one of your Linux user), from where you can retrieve them with your email client (e.g. Thunderbird or Outlook).
-
How to Configure Custom Postfix Bounce Messages
Author: Falko Timme • Tags: postfix • Comments: 6 • Updated: Aug 19, 2022Since Postfix version 2.3, Postfix supports custom bounce messages. This guide shows how to configure custom Postfix bounce messages and max queue lifetime.
-
-
How to Specify a Custom php.ini for a Website (Apache2 with mod_php)
Author: Falko Timme • Tags: apache, php • Comments: 14 • Updated: Jul 25, 2022This short article explains how to specify a custom php.ini for a website running on Apache2 with mod_php. That way, each website can have it's own php.ini instead of using the server's default one.
-
Rate Limiting with Nginx
Author: Falko Timme • Tags: nginx, web server • Comments: 5 • Updated: Jul 22, 2022Rate Limiting With nginx. This article explains how to use the nginx HttpLimitReqModule to limit the number of requests for a given session. This is useful, for example, if your site is hammered by a bot doing multiple requests per second and thus increasing your server load. With the HttpLimitReqModule you can define a rate limit, and if a visitor exceeds this rate, he will get a 503 error.
-
Postfix - mail for example.com loops back to myself
Author: Falko Timme • Tags: errors • Comments: 6 • Updated: Jul 18, 2022Error: Postfix - mail for example.com loops back to myself You see the following error in your mail log: Feb 24 21:42:42 mail postfix/smtp[1911]: 8172723F60: to=<[email protected]>, relay=none, delay=0, status=bounced (mail for example.com loops back to myself)
-
How to Compile A Kernel - The Debian Way
Author: Falko Timme • Tags: debian, kernel • Comments: 4 • Updated: Mar 29, 2021How to Compile A Kernel on Debian Linux. Each distribution has some specific tools to build a custom kernel from the sources. This article is about compiling a kernel on a Debian Linux system. It describes how to build a custom kernel using the latest unmodified kernel sources from www.kernel.org (vanilla kernel).
-
FreeBSD Quota Tutorial
Author: Falko Timme • Tags: freebsd • Comments: 3 • Updated: Mar 28, 2021This tutorial shows you how to enable hard disk quota on a FreeBSD system.
-
How do I edit files on the command line?
Author: Falko Timme • Tags: other, shell • Comments: 8To edit files on the command line, you can use an editor such as vi. To open the file, run vi /path/to/file Now you see the contents of the file (if there is any. Please note that the file is created if it does not exist yet.). The most important commands in vi are these: Press i to enter the Insert mode. Now you can type in your text. To leave the Insert mode press ESC.
-
How to Securely Destroy/Wipe Data on Hard Drives with shred on Linux
Author: Falko Timme • Tags: linux, security • Comments: 20Sometimes you need to destroy or wipe data from hard drives (for example, before you sell your old hard drives on eBay) so that nobody else can access them. Simply deleting data (e.g. with rm) is not enough because that just removes the file system pointer, but not the data, so it can easily be undeleted with recovery software. Even zero'ing out your hard drive might not be enough. Here's where shred comes into play - shred can overwrite the files and partitions repeatedly, in order to make it harder for even very expensive hardware probing to recover the data.