throttling bandwidth with thttpd using URL patterns

Thttpd, Web servers No Comments »

thttpd providers excellent and easy to set-up bandwidth throttling based on files, directories, file types or default web server bandwidth speed. If you want to cap the default bandwidth of your thttpd server to 512Kbps you will need to add the following configuration line to your thttpd config file: ** 51200If exe download files are [...]

limiting apache bandwidth speed and traffic leechers

Apache No Comments »

At this time, there are quite a few modules available that will stop traffic leech and limit simultaneous connections, bandwidth based on files, virtual host and so on. mod_bw Apache 2 (also available for Windows platform): http://www.ivn.cl/apache/ mod_cband (Apache2): http://cband.linux.pl/ mod_bandwidth http://www.cohprog.com/v3/bandwidth/doc-en.html#

mod_security and suggested rules

Apache 1 Comment »

mod_security is a powerful attack shield that can block http requests based on pre-defined rules. It’s a nice shield against known software exploits (e.g. non-patched forums, scripts etc)… A non-aggresive rule set: # Turn the filtering engine On or Off SecFilterEngine On # Change Server: string SecServerSignature “Apache” # This setting should be set to [...]

Measuring your server bandwidth usage

Web servers No Comments »

If you are getting attacked or simply burning too much traffic (your upstream provider says so)… it’s perhaps the best time to check out  how much of traffic are you really bursting? There is a software (freeware of course) that perfectly counts/measures your server traffic usage so go ahead and use it. http://dast.nlanr.net/Projects/Iperf/

Saving HTTP server bandwidth and increasing speed

PHP No Comments »

If you have some CPU power to spare and you are looking to save some $$$ on the bandwidth bill you have an option for PHP. Open php.ini (usually located in /usr/local/lib/php.ini) and uncomment the following line: output_handler = ob_gzhandler With this value set you will redirect all output to the function, in this case [...]

WP Theme
Entries RSS Comments RSS Log in