Apache is the most widely used web server on the Internet. Knowing how to get the most out of Apache is very important for a systems administrator. Optimizing Apache is always a balancing act. It’s a case of sacrificing one resource in order to obtain savings in another.
I have a centos 4.5 powered VPS that was running out of memory at peak times and so I decided to take a look at using squid to reverse proxy apache. When squid is used as a reverse proxy all http requests are proxied through squid to apache. The advantage of this setup is:
Abdussamad Abdurrazzaq Web Development and Linux System Administration Skills: Linux System Administration I’m a self-taught System Administrator. I have the following skills some of which I’ve blogged about on my site: Installing and configuring software on Linux. Optimizing Apache, Nginx, PHP and MySQL. Setting up authoritative nameservers using bind, maradns or powerdns. Setting up fastcgi […]
On most Linux systems services install logrotate configuration files in /etc/logrotate.d/. Sometimes you want to temporarily disable log rotation for a service without deleting the configuration file. So how do you do that? A look at the man page shows us this option:
Web servers sometimes get lots of requests from bots looking to exploit security holes. For example previously I have written about brute force WordPress login attempts. Attacks like these can involve thousands of IP addresses and how you block the attack depends on how many unique IPs are involved and the frequency with which they […]