How to balance before mod_security in the charge Apache « LINsider::::its all encompassing unix/windows admin parade-ground!!especially GNU/Linux

ModSecurity is an establish roots intrusion detection and injunction locomotive for the duration of trap applications. It operates embedded into the trap server, acting as a potent gamp – shielding applications from attacks.
Requirements:
Apache Web Server 1.3x or 2.x
How to instal?
1. Login to your server during SSH and su to the drain root buyer.
2. Next we untar the archive and cd into the directory:
tar zxvf mod_security-1.7.4.tar.gz
cd mod_security-1.7.4/
4. First your succeeding to start antiquated by means of grabbing the latest rendition of mod_security
wget http://www.modsecurity.org/download/mod_security-1.7.4.tar.gz
3.

Now you emergency to clinch which rendition of apache you utilization:
APACHE 1.3.x users
cd apache1/
APACHE 2.x users
cd apache2/
5. Lets Compile the module any more:
/usr/local/apache/bin/apxs -cia mod_security.c
6. Ok, any more its days to regain rid of the httpd conf interfile. Now that we set aside up backed it all up, we can regain rid of the httpd.conf. First we ordain humour a backup lately incase something goes deteriorate:
cp /usr/local/apache/conf/httpd.conf /usr/local/apache/conf/httpd.conf.backup
7.
vi above all /usr/local/apache/conf/httpd.conf
8.

Lets look for the duration of something in the config, do this by means of holding machine and momentous W and you are succeeding to search for
9. Restart Apache
/etc/rc.d/init.d/httpd stop
/etc/rc.d/init.d/httpd start
You’ve successfully installed mod_security!
Possibly cognate posts: (automatically generated)Server apache dengan httpd-2.2.2.tar.gz (suse)

Leave a Reply
Click here to finish answer.

Comments are closed.