Tagging-Archive: apache


ISPConfig – rewrite ip on mirror(s)

As i described here, i change on a mirror the ipv6 according to the relevant subnet in the vhost-files. I added a rewrite for IPv4 and show you how to use this with the current RC. Use this only with ISPConfig-3.0.5-rc1 For some reason my v6-rewrite-code is a part of […]


limit traffic on clamav-mirror 1

I´m running a mirror for clamav. Since some clients always download the main.cvd instead of diffs and that results in a traffic up to 150 MB per day for each client. So i searched for a solution, to reduce the current monthly traffic of ~2TB. Fortunately apache sends already the […]


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. 176.9.33.188 goes to 176.9.33.0 The most statistic-tools can handle the data furthermore. As […]


ISPConfig – Apache-Logfiles and syslog 1

By default ISPConfig is using vlogger for writing apache-logs as file and to store some data to the database. I don´t like this way as it stores in a multi-server setup the logs only on each server. So if you´re already running a centralisied log-server, you will never get all […]


ISPConfig and IPv6 in a mirror-setup 1

I use ISPConfig one some servers running in a mmirror-enviroment. Since IPv6 ist the way to use within the next years, i need a way to add a individual IPv6 for each vhost and this IP must be set, according to the subnet, on each mirror. You can easily add […]


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 | […]