Al Sparks
2009-Jul-27 21:09 UTC
[CentOS] What's the configure specs for the generic Apache install of CentOS x86_64 5.3?
I'm trying to install apache 2.2.x from a tarball. And it works. But I'm also trying to install modsecure, and I can't get that to work. It might help to know what CentOS uses to install Apache when doing the ./configure. === Al
Kwan Lowe
2009-Jul-27 21:26 UTC
[CentOS] What's the configure specs for the generic Apache install of CentOS x86_64 5.3?
On Mon, Jul 27, 2009 at 5:09 PM, Al Sparks<data345 at yahoo.com> wrote:> > I'm trying to install apache 2.2.x from a tarball. > > And it works. ?But I'm also trying to install modsecure, and I can't get that to work. > > It might help to know what CentOS uses to install Apache when doing the ./configure.There are a couple approaches that may work: 1) Browse to http://your.server.name/server-info If you haven't disabled it, it will show the server configuration. 2) Grab the sources and check it directly: yumdownloader --source httpd rpm -ivh http-xxxx.src.rpm cd /YOURRPMBUILDDIR/SPECS look at the httpd.spec file in the configure section
Filipe Brandenburger
2009-Jul-27 21:26 UTC
[CentOS] What's the configure specs for the generic Apache install of CentOS x86_64 5.3?
Hi, On Mon, Jul 27, 2009 at 17:09, Al Sparks<data345 at yahoo.com> wrote:> I'm trying to install apache 2.2.x from a tarball.Why would you want to do that? CentOS 5.3 already ships Apache 2.2 packaged as an RPM.> But I'm also trying to install modsecure, and I can't get that to work.I think you mean ModSecurity (http://www.modsecurity.org/), right? If that's the case, the latest version mod_security-2.5.9 is available from EPEL. HTH, Filipe
Kwan Lowe
2009-Jul-27 21:28 UTC
[CentOS] What's the configure specs for the generic Apache install of CentOS x86_64 5.3?
On Mon, Jul 27, 2009 at 5:09 PM, Al Sparks<data345 at yahoo.com> wrote:> > I'm trying to install apache 2.2.x from a tarball. > > And it works. ?But I'm also trying to install modsecure, and I can't get that to work. > > It might help to know what CentOS uses to install Apache when doing the ./configure.Oh.. and another option: /usr/sbin/httpd -V That will show the compiled options.. :)
Ian Forde
2009-Jul-27 23:09 UTC
[CentOS] What's the configure specs for the generic Apache install of CentOS x86_64 5.3?
On Mon, 2009-07-27 at 14:09 -0700, Al Sparks wrote:> I'm trying to install apache 2.2.x from a tarball.That'll pretty much break the apache rpm installation...> And it works. But I'm also trying to install modsecure, and I can't get that to work.If you stick with the rpm-based Apache installation, it might be as simple as: yum install httpd-devel apxs -cia mod_security.c as listed on: http://www.modsecurity.org/documentation/modsecurity-apache/1.9.3/modsecurity-manual.html#02-installation Of course, you could also grab the RPMS from EPEL... http://download.fedora.redhat.com/pub/epel/5/x86_64/mod_security-2.5.9-1.el5.x86_64.rpm> It might help to know what CentOS uses to install Apache when doing the ./configure.That'll be in the SPEC file from the source rpm... also, I believe that be default, you don't get the server-info page unless you're coming in from localhost. -I