Fedora Linux Support Community & Resources Center
  #1  
Old 12th June 2004, 04:56 PM
php4u Offline
Registered User
 
Join Date: Jun 2004
Posts: 18
mod_security and FC2

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.


Any thoughts?

thanks in advance!
Ralph
Reply With Quote
  #2  
Old 12th June 2004, 07:08 PM
bradthemad Offline
Registered User
 
Join Date: May 2004
Location: Atlanta, GA
Posts: 101
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.
__________________
?
Reply With Quote
  #3  
Old 13th June 2004, 12:37 AM
php4u Offline
Registered User
 
Join Date: Jun 2004
Posts: 18
apache source directory?

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.

thank you!
Ralph

Last edited by php4u; 13th June 2004 at 12:41 AM.
Reply With Quote
  #4  
Old 13th June 2004, 01:51 AM
bradthemad Offline
Registered User
 
Join Date: May 2004
Location: Atlanta, GA
Posts: 101
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.
__________________
?
Reply With Quote
  #5  
Old 14th June 2004, 12:36 AM
php4u Offline
Registered User
 
Join Date: Jun 2004
Posts: 18
thanks...sorry about the confusion

Thank you Bradthemad.
I was over thinking the install process. All I had to do was run;
# /usr/sbin/apxs -cia mod_security.c

Thanks again!
Ralph
Reply With Quote
Reply

Tags
fc2, modsecurity

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
MOD_SECURITY INOP after F11 install MauiLvrs Servers & Networking 0 19th June 2009 11:10 PM
Apache: how to autoindex with mod_security ? LaKing Security and Privacy 3 16th May 2009 08:51 PM
F9 mod_security package is older than CentOS 5's? icydog Using Fedora 1 14th September 2008 06:38 AM
Mod_security shaz Security and Privacy 3 6th February 2005 06:19 AM


Current GMT-time: 13:40 (Friday, 31-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Arcelia Instagram Photos - Lachi Travel Photos - Zabid Travel Photos