Posts tagged ‘Apache’

Apache2 Logrotate

Whenever I setup a new web server, I always like the idea of keeping the Apache logs roated on a daily basis. While the procedures for changing the log rotate frequency is pretty straight forward, I have seen a lot of people having problems with it so I decided to document it. Continue reading ‘Apache2 Logrotate’ »

Parsing Apache Server Log for Unique IPs

I created this short Perl script to tally the number of unique IPs from the Apache server log. Continue reading ‘Parsing Apache Server Log for Unique IPs’ »

Apache Log Rotation on Ubuntu Server

Interestingly, the log rotation utility rotatelogs which came with Apache does not work with Ubuntu 7.04 installation. At least not when the Apache is installed via apt-get. Continue reading ‘Apache Log Rotation on Ubuntu Server’ »