Home HowTos Linux

Apache

Apache 2.4.1 is the latest stable version available on Apache.org download section. Since it is the latest version so it may have plenty of dependencies issues. In my case, i am installing it from source(httpd-2.4.1.tar.bz2).

Currently i am logged in using SSH on Plain CentOS 6.2 server and it has very basic packages installed.

Downloading and compiling Apache 2.4.1

cd /usr/local/src/
wget http://apache.mirrors.pair.com//httpd/httpd-2.4.1.tar.bz2
tar -jxf httpd-2.4.1.tar.bz2
cd httpd-2.4.1
./configure --prefix=/usr/local/apache --enable-so --enable-deflate --enable-expires --enable-headers --enable-rewrite

[Keep Reading…]

I have talked about ApacheKiller flaw in detail here with possible workaround to mitigate this flaw.

Last week, a DDoS mitigation service vendor Arbor Networks revealed a detailed report can be download from here which say,

[Keep Reading…]


About GoAccess :
GoAccess is linux terminal’s real time Apache Log Analyzer and gives you interactive view of Apache access log. It is super fast and provides you real time reporting on the fly.
Currently it support Apache two standard reports 1. Combined Log Format 2. Common Log Format. You can also monitor nginx log if it is configured with Apache log format.

I have been using it for a long time on Ubuntu/BackTrack and CentOS 4. This time i am compiling it on CentOS 6 on our 64bit VPS.

Installing dependencies :
yum install glib2 glib2-devel glibc make geoip

[Keep Reading…]

In this tutorial i will tell you how to configure Lighttpd and Apache on same port 80 on same server. In our case, we have CentOS 6 on our server but you can follow this for any Linux flavor e.g Ubuntu/BackTrack Linux etc.

Requirements :

  • Two Internet Public IPs ( Configured on eth0 and eth0:0)
  • Lighttpd
  • Apache

[Keep Reading…]

Mod_geoip is an Apache module use for determination of City/Country/ISP of a visitor. In CentOS 6 mod_geoip is not available in the default set repository so you will need to download it manually.

wget http://download.fedora.redhat.com/pub/epel/6/x86_64/mod_geoip-1.2.5-5.el6.x86_64.rpm
rpm -ivh mod_geoip-1.2.5-5.el6.x86_64.rpm
/etc/init.d/httpd restart

Completed. You should see  mod_geoip.conf under /etc/httpd/conf.d/

ls /etc/httpd/conf.d/mod_geoip.conf

Few months back we posted Apache Range Byte flaw named ‘KillApache’ where we posted a perl script that can be use to freeze Apache web server in seconds(We have tested it) This time Miroslave Stampar(Co-Author of SQLMap tool) written this tool with few extended features in python scripting language named it ‘KillApachePy’

New enhancements :

  • Automated input parameters
  • Proxy support
  • Chose custom page of your target
  • Chose custom HTTP method e.g GET, HEAD
You can download it from github