Any interest in an apache 2.4 RPM that isn't an upgrade

Asked by Joshua Rusch

Hi all,

So I spent 1 day on my memorial day weekend getting an RPM install of httpd 2.4 building for CentOS 6. I was wondering if you guys had any interest in it? It doesn't follow the IUS norm as it is a /usr/local install (except for the init script stuff).

Basically I decided to treat it as a separate web server instead of an upgrade, much like nginx. This got rid of a ton of problems, including having to maintain my own copies/builds of all the mod_ packages. No mod_php with your php packages but the point of this is to use php-fpm so I don't really see mod_php as necessary.

So my package is called httpd-local - and I did have to make apr-local and apr-util-local packages as well.

I was torn between putting everything in /usr/local or in normal system directories. The only real problem with normal system directories were the binaries - I would have had to put them in subdirectories or renamed every binary (which seemed silly to me).

So let me know if you guys are interested. I'm willing to make a few changes if you are. I debated putting apr and apr-util right into the httpd-local package itself since apache supports building with an included apr but decided on the separate packages. I could have made an APR upgrade package instead of the dual local packages, but I'm not familiar enough with APR to know the risks of upgrading the system APR.

Thanks,

Josh

Question information

Language:
English Edit question
Status:
Answered
For:
IUS Community Project Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jeffrey Ness (jeffrey-ness) said :
#1

Hello Joshua,

Thank you very much for taking the time to write, and thank you for taking intrest in the IUS
project and wanting to share.

Unfortunately we do not believe httpd 2.4 to be a good choice for EL5 or EL6 based on the apr and apr-util requirements,
you can see the work we did in the below thread:

   https://answers.launchpad.net/ius/+question/188446

Please feel free to post any suggestion or thoughts however.

Jeffrey-

Revision history for this message
Joshua Rusch (jdr-alexanderinteractive) said :
#2

Gotcha, thanks.

Well, if you change your mind, here's the layout I used for where I put stuff :)

# RHEL/Centos Local Layout
<Layout RHEL-local>
    prefix: /usr/local
    exec_prefix: ${prefix}
    bindir: ${prefix}/bin
    sbindir: ${prefix}/sbin
    libdir: ${prefix}/lib
    libexecdir: ${prefix}/libexec
    mandir: ${prefix}/man
    sysconfdir: /etc/httpd.local/conf
    datadir: ${prefix}/share/httpd
    installbuilddir: ${libdir}/httpd/build
    errordir: ${datadir}/error
    iconsdir: ${datadir}/icons
    htdocsdir: /var/local/www/html
    manualdir: ${datadir}/manual
    cgidir: /var/local/www/cgi-bin
    includedir: ${prefix}/include/httpd
    localstatedir: /var/local
    runtimedir: /var/run/httpd-local
    logfiledir: ${localstatedir}/log/httpd
    proxycachedir: ${localstatedir}/cache/httpd
</Layout>

Revision history for this message
Joshua Rusch (jdr-alexanderinteractive) said :
#3

Ooops sysconfdir is wrong, I must have copied in an old version. But probably irrelevant anyway :)

Can you help with this problem?

Provide an answer of your own, or ask Joshua Rusch for more information if necessary.

To post a message you must log in.