- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- how to install mod_security in apache?
Operating System - Linux
1820594
Members
1371
Online
109626
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2005 07:12 AM
тАО10-13-2005 07:12 AM
Dear Experts
I have download modsecurity-1.8.7.tar.gz, then untar, unzip
#cd modsecurity-1.8.7
#ls apache2
makefile.win mod_security.c
now i also have downlaod the httpd-2.0.54.tar.bz2, untar, and unzip httpd-2.0.54.tar.bz2.
now how to install the apache so that mod_security will also be install during apache installation ?
and one more thing If i have already installed httpd-2.0.54.tar.bz2. via #untar/unzip, then #cd httpd-2.0.54, then #./configure, then #make then #make install
i.e if apache is already installed via source, then how to install mod_security ?
Regards
Maaz
I have download modsecurity-1.8.7.tar.gz, then untar, unzip
#cd modsecurity-1.8.7
#ls apache2
makefile.win mod_security.c
now i also have downlaod the httpd-2.0.54.tar.bz2, untar, and unzip httpd-2.0.54.tar.bz2.
now how to install the apache so that mod_security will also be install during apache installation ?
and one more thing If i have already installed httpd-2.0.54.tar.bz2. via #untar/unzip, then #cd httpd-2.0.54, then #./configure, then #make then #make install
i.e if apache is already installed via source, then how to install mod_security ?
Regards
Maaz
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2005 12:04 AM
тАО10-14-2005 12:04 AM
Solution
When compiling Apache, what options did you pick?
You need the DSO support enabled to be able to add new modules later. If you did not choose DSO support, all the modules must be chosen at the time Apache is compiled.
Introduction to Apache DSO concepts:
http://httpd.apache.org/docs/2.0/dso.html
To compile and install extra modules after building Apache, you need the "apxs" tool, which should be built automatically with Apache:
http://httpd.apache.org/docs/2.0/programs/apxs.html
You need the DSO support enabled to be able to add new modules later. If you did not choose DSO support, all the modules must be chosen at the time Apache is compiled.
Introduction to Apache DSO concepts:
http://httpd.apache.org/docs/2.0/dso.html
To compile and install extra modules after building Apache, you need the "apxs" tool, which should be built automatically with Apache:
http://httpd.apache.org/docs/2.0/programs/apxs.html
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2005 01:36 AM
тАО10-14-2005 01:36 AM
Re: how to install mod_security in apache?
The best way to install mod_security is to compile it from the source code and then add a DSO module to Apache's httpd.conf configuration file (LoadModule ...).
Use these commands for set-up of mod_security module:
# /path/to/apache/bin/apxs -cia mod_security.c
# /path/to/apache/bin/apachectl stop
# /path/to/apache/bin/apachectl start
Regards,
Sergejs
Use these commands for set-up of mod_security module:
# /path/to/apache/bin/apxs -cia mod_security.c
# /path/to/apache/bin/apachectl stop
# /path/to/apache/bin/apachectl start
Regards,
Sergejs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2005 05:10 AM
тАО10-14-2005 05:10 AM
Re: how to install mod_security in apache?
ti depend from version to version.
Read README inside the source tree.
Read README inside the source tree.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP