Kategoriearchive: Apache

Permission denied: mod_fcgid: couldn’t bind unix domain socket 1

After updating libapache2-mod-fcgid my websites won´t work anymore. I found the following error in apache`s error.log: [Sat Oct 12 09:33:53 2013] [error] (13)Permission denied: mod_fcgid: couldn’t bind unix domain socket /var/lib/apache2/fcgid//15907.67 [Sat Oct 12 09:33:53 2013] [warn] (13)Permission denied: mod_fcgid: spawn process /srv/www/php-fcgi-scripts/web319/.php-fcgi-starter error The problem were the rights for […]

change document root of mod_suexec

In mod_suexec, ‘document_root’ can not be changed because it is compiled directly. To change the default path of debian (/ var / www), you must either re-compile mod_suexec or even use the suexec-custom package. apt-get install apache2-suexec-custom After that, the directory can be changed in / etc/apache2/suexec/www-data: /srv/www public_html/php-fcgi # […]

Apache bandwidth limit

my english version Durch mod_cband lässt sich die verfügbare Bandbreite von Apache nach verschiedenen Kriterien drosseln. Das Modul kann von http://cband.linux.pl/download/ oder auch von http://sourceforge.net/projects/cband/ heruntergeladen werden. Zum Installieren reicht wie üblich ./configure make make install Voraussetzung ist aber das APache eXtenSion tool. Die meisten Distributionen bieten mod_cband aber auch […]

Apache anonymisieren

In the apache access.log all ip addresses are stored complete. This is neither necessary for statistcs nor it´s needed to store these data. IPv4 addresses can be quite simple anonymous, if the last part is changed. I.e. goes to The most statistic-tools can handle the data furthermore. As […]

Block outdated clients 1

There can be problems with the destination file. A solution can be found in the post handle xt_recent from syslog-ng. Due to numerous connects of outdated clients on my clamav-mirror (> 300,000 / day), i add single IP temporarily to the firewall. Requirements: Apache HTTP-Server syslog-ng iptables Configure Apache HTTP-Server The Access […]

Apache without static content

Most log entries when using CMS you actually need and they do not prevent the view of the more essential. The whole can be relatively easily prevented by an entry in each vhost: SetEnvIf Request_URI “\ (txt | jpg | png | gif | ico | js | css | […]