View Full Version : mod_security and FC2
12th June 2004, 04:56 PM
I am interested in installing Mod_Security for Apache2, with Fedora Core2. I am looking for a binary (mod_security.so) to simply place in /usr/lib/httpd/modules...but can not seem to find it.
Will I need to do a fresh install of Apache 2 (from source rather than RPM), with the new mod_security module, or ????
Mod_Security seems like a worthwhile additon to Apache2.
thanks in advance!
12th June 2004, 07:08 PM
The httpd-devel package provides the necessary bits of apache source you need in order to build additional modules. If you install that and follow the instructions in the INSTALL file for mod_security, it should take you no more than one minute to build and install that module. No need to rebuild apache.
13th June 2004, 12:37 AM
Now that I have apxs, I need to install the mod_security file in my Apache soruce directory.
I am unable to locate the apache source dir. Where is it located on FC2? It is not located in /usr/src.
13th June 2004, 01:51 AM
Read the instructions carefully. They're telling you to go to the appropriate apache directory of the module source; in your case, mod_security-1.7.6/apache2/ from the tarball you extracted, and then run the apxs command.
14th June 2004, 12:36 AM
Thank you Bradthemad.
I was over thinking the install process. All I had to do was run;
# /usr/sbin/apxs -cia mod_security.c
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.