When using Cloudflare, in order to retrieve the actual visitors IP that connect to your server, you must install mod_cloudflare. Normally when using Cloudflare, all of the IP’s that connect to your web server will come from a Cloudflare IP address. mod_cloudflare is an Apache module that forces Apache to log actual visitor IP addresses instead of cloudflare server IP’s. It can be installed on servers running cPanel, using the following commands:
wget --no-check-certificate http://github.com/cloudflare/CloudFlare-Tools/raw/master/mod_cloudflare.c
apxs -a -i -c mod_cloudflare.c
service httpd restart
Continue reading “mod_cloudflare and mod_cloudflare cpan”
By Jack Wallen From techrepublic.com – April 11, 2012
Takeaway: Apache can be extended in many ways. Here are a few key directives and modules that can help you tap into its flexibility and power.
If you use the Apache Web server, you know how flexible it is. One of the reasons for this flexibility is the availability of the directives and modules in the Apache configuration file. There are a LOT of them. Although your needs will dictate which ones are most important, I decided to list those I’ve used the most over the years. These directives and modules are, in my opinion, the ones all Apache admins should know well and be able to implement to get the most flexibility and power from their Apache server.
Continue reading “10 must-know Apache directives and modules”
This software has been depreciated. Please do not use.
ApacheBooster is an install and integration of nginx and varnish onto the server with an addition of a WHM plugin to manage it. This setup will reduce the server load spikes and memory usage, Also the plugin will provides the following features:
Rebuild nginx Conf
Nginx Conf Editor
Varnish Conf Editor
Rebuild IP Pool
Show varnish stats
Purge Varnish Cache
Check for upgrade
Additional tweaking will almost always be necessary to configure it specifically for your server.
tar -zxf apachebooster.tar.gz
Varnish Cache is a web application accelerator also known as a caching HTTP reverse proxy. You install it in front of any server that speaks HTTP and configure it to cache the contents. Varnish Cache is really, really fast. It typically speeds up delivery with a factor of 300 – 1000x, depending on your architecture. A high level overview of what Varnish does can be seen in the video attached to this web. Varnish performs really, really well. It is usually bound by the speed of the network, effectivly turning performance into a non-issue. We’ve seen Varnish delivering 20 Gbps on regular off-the-shelf hardware.
Nginx is known for its high performance, stability, rich feature set, simple configuration, and low resource consumption. Unlike traditional servers, Nginx doesn’t rely on threads to handle requests. Instead it uses a much more scalable event-driven (asynchronous) architecture. This architecture uses small, but more importantly, predictable amounts of memory under load.