Tag Archives: apache

How to install Mod_security

Mod_security Installation There are several ways to install mod_security. Please check out the latest documentation on their website – http://www.modsecurity.org Download http://www.modsecurity.org/download/mod_security-1.7.4.tar.gz # tar xvzf mod_security-1.7.4.tar.gz # cd mod_security-1.7.4/apache2 # /usr/sbin/apxs -cia mod_security.c At the end of the compile: “[activating module `security’ in /etc/httpd/conf/httpd.conf]” Mod_Dosevasive Installation What is mod_dosevasive? “mod_dosevasive is an evasive maneuvers module for… Read More »

Set up Apache with TLS/SSL Support

If you haven’t set up Apache you should look at our article on how to install Apache for web services. Guide to Set up Apache with TLS/SSL Support # cp /var/log/boot.log /usr/share/ssl/random1 # cp /var/log/cron /usr/share/ssl/random2 # cp /var/log/dmesg /usr/share/ssl/random3 # cp /var/log/messages /usr/share/ssl/random4 # cp /var/log/secure /usr/share/ssl/random5 # cd /usr/share/ssl # openssl genrsa -rand… Read More »

Apache Installation for web services

Documentation for the Apache Install primarily comes from Downloaded httpd-2.0.48.tar.gz from one of the Apache mirror sites at http://www.apache.org. # tar xvzf httpd-2.0.48.tar.gz mod_security – Download mod_security-1.7.4.tar.gz from http://www.modsecurity.org/download/. I am going to install mod_security as a static module in Apache # tar xvzf mod_security-1.7.4.tar.gz # cd mod_security-1.7.4/apache2/ # cp mod_security.c ../../httpd-2.0.48/modules/mappers/ # tar xvzf httpd-2.0.48.tar.gz Create the… Read More »