Web Hosting 33
Blocking Bad UserAgents with ModSecurity and Fail2ban
Many bots crawl websites that do nothing to generate positive traffic for the site. They just use up available resources and bandwidth of the server. You can reduce this drastically by implementing blocking using ModSecurity to detect the bad agents and then fail2ban to block them in iptables for a period of time. This guide […]
Nginx Caching for WordPress using fastcgi_cache
Caching PHP requests can dramatically reduce server resources per request and make the pages load time decrease substantially. In this tutorial we are going to utilize the fastcgi_cache functions in nginx to cache PHP requests making it. This tutorial assumes you have the following already completed on your server: Nginx installed, if you do not […]
Install The ngx_cache_purge Module In Nginx
Ngx_cache_purge is a module which will allow the fastcgi_cache, proxy, SCGI and uWSGI caches to have content purged from them. The caches allow precompiled code to be served as opposed to running a new version each time. This can greatly reduce the amount of processing power per page request. This specific module allows that cached […]
Nginx Load Balancing
Nginx can be used as a load balancer to multiple back-end web servers using the proxy functions. This guide will cover the basics of configuring the proxy server to pull from the other web servers. It assumes you already have completed the initial install of Nginx. If you do not already have a install please […]
How To Configure A Nginx Reverse Proxy With Apache
Nginx can as a reverse proxy to Apache. Nginx does best at serving static content extremely fast whereas Apache can process dynamic content and use all of the various Apache modules and .htaccess that are typically the web standard of hosting. This guide assumes you already have a Apache installation and would like to add […]
mod_proxy Installation and Configuration on Apache
Introduction mod_proxy is a proxy/gateway for the Apache server. It allows you to direct Apache requests to other sites and/or ports within the web server. It can also support load balancing algorithms as well. This guide assumes you already have Apache 2.2 installed from source to build the modules. To read more about it you […]
mod_fastcgi Installation on Apache 2.2
What is mod_fastcgi? mod_fastcgi is an Apache module for interfacing with CGI programs allowing a server to handle more requests at one time. It does this by keeping an instance of php running in the background. When apache receives the request it forwards it to FasctCGI. It can increase performance and reduce memory useage over […]
Most Commented