Re: What's the configure specs for the generic Apache install of CentOS x86_64 5.3?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Option 1 doesn't work on a new CentOS install of the web server.

I did have to use http://localhost to get the standard CentOS web page up.  I went through the /var/www/html directory, and there was nothing there.  So I don't know where they put them.

Adding the "server-info" to the URL gives me 404.

Option 2 gives me:

   Loaded plugins: fastestmirror
   Loading mirror speeds from cached hostfile
    * base: mirrors.bluehost.com
    * updates: mirror.unl.edu
    * addons: mirror.unl.edu
    * extras: www.cyberuse.com
   No source RPM found for httpd-2.2.3-22.el5.centos.x86_64
   No source RPM found for httpd-2.2.3-22.el5.centos.1.x86_64
   No source RPM found for httpd-2.2.3-22.el5.centos.2.x86_64
   Nothing to download

   === Al




----- Original Message ----
From: Kwan Lowe <kwan.lowe@xxxxxxxxx>
To: CentOS mailing list <centos@xxxxxxxxxx>
Sent: Monday, July 27, 2009 1:26:07 PM
Subject: Re:  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@xxxxxxxxx> 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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux