Join the community today
Become a Member

Beta Branch custom Apache 2.4 RPMs for Centmin Mod LEMP stack

Discussion in 'Beta release code' started by eva2000, Sep 18, 2015.

Thread Status:
Not open for further replies.
  1. eva2000

    eva2000 Administrator Staff Member

    30,161
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    4:07 AM
    Nginx 1.13.x
    MariaDB 5.5
    Long time Centmin Mod users would recall back on old Google+ Community, I outlined that Apache 2.4 + PHP-FPM integration into Centmin Mod is on the to do list. So I am revisiting this with freshly compiled custom Apache 2.4.16 RPMs for 64bit only OSes.

    It's RPM built to closely match to CentOS default distro's layout and structure for Apache httpd YUM packages. Why custom RPM ? Because no default YUM repos have latest version. CentOS 6.x defaults to Apache 2.2.15 and CentOS 7.x defaults to Apache 2.4.6. While latest version right now is Apache 2.4.16 - Overview of new features in Apache HTTP Server 2.4

    There will be a custom installer addon for Apache 2.4 install and tuned configuration. The routine will be borrowed from my older CentMAP installer which is for Apache as to what Centmin Mod installer was for Nginx. I've set it to default to Apache listening port 7681 instead of 80 as the main usage I envision within Centmin Mod is using Apache as backend to Nginx reverse proxy server to maintain Apache mod_rewrite/htaccess file support.

    This is for CentOS 6.x - have yet to test for CentOS 7.x

    Code:
    ls -lAh 64bit/
    total 11M
    -rw-r--r-- 1 root nginx  93K Sep 18 07:47 apr-1.5.2-1.x86_64.rpm
    -rw-r--r-- 1 root nginx 409K Sep 18 07:47 apr-debuginfo-1.5.2-1.x86_64.rpm
    -rw-r--r-- 1 root nginx 821K Sep 18 07:47 apr-devel-1.5.2-1.x86_64.rpm
    -rw-r--r-- 1 root nginx  77K Sep 18 07:47 apr-util-1.5.4-1.x86_64.rpm
    -rw-r--r-- 1 root nginx 7.0K Sep 18 07:47 apr-util-dbm-1.5.4-1.x86_64.rpm
    -rw-r--r-- 1 root nginx 432K Sep 18 07:47 apr-util-debuginfo-1.5.4-1.x86_64.rpm
    -rw-r--r-- 1 root nginx 478K Sep 18 07:47 apr-util-devel-1.5.4-1.x86_64.rpm
    -rw-r--r-- 1 root nginx  12K Sep 18 07:47 apr-util-freetds-1.5.4-1.x86_64.rpm
    -rw-r--r-- 1 root nginx 8.9K Sep 18 07:47 apr-util-ldap-1.5.4-1.x86_64.rpm
    -rw-r--r-- 1 root nginx  15K Sep 18 07:47 apr-util-mysql-1.5.4-1.x86_64.rpm
    -rw-r--r-- 1 root nginx  11K Sep 18 07:47 apr-util-nss-1.5.4-1.x86_64.rpm
    -rw-r--r-- 1 root nginx  21K Sep 18 07:47 apr-util-odbc-1.5.4-1.x86_64.rpm
    -rw-r--r-- 1 root nginx  11K Sep 18 07:47 apr-util-openssl-1.5.4-1.x86_64.rpm
    -rw-r--r-- 1 root nginx  15K Sep 18 07:47 apr-util-pgsql-1.5.4-1.x86_64.rpm
    -rw-r--r-- 1 root nginx  12K Sep 18 07:47 apr-util-sqlite-1.5.4-1.x86_64.rpm
    -rw-r--r-- 1 root nginx 181K Sep 18 07:47 distcache-1.4.5-23.x86_64.rpm
    -rw-r--r-- 1 root nginx  58K Sep 18 07:47 distcache-devel-1.4.5-23.x86_64.rpm
    -rw-r--r-- 1 root nginx 1.2M Sep 18 07:47 httpd-2.4.16-1.x86_64.rpm
    -rw-r--r-- 1 root nginx 3.4M Sep 18 07:47 httpd-debuginfo-2.4.16-1.x86_64.rpm
    -rw-r--r-- 1 root nginx 185K Sep 18 07:47 httpd-devel-2.4.16-1.x86_64.rpm
    -rw-r--r-- 1 root nginx 3.2M Sep 18 07:47 httpd-manual-2.4.16-1.x86_64.rpm
    -rw-r--r-- 1 root nginx  69K Sep 18 07:47 httpd-tools-2.4.16-1.x86_64.rpm
    -rw-r--r-- 1 root nginx  44K Sep 18 07:47 mod_authnz_ldap-2.4.16-1.x86_64.rpm
    -rw-r--r-- 1 root nginx  43K Sep 18 07:47 mod_lua-2.4.16-1.x86_64.rpm
    -rw-r--r-- 1 root nginx  22K Sep 18 07:47 mod_proxy_html-2.4.16-1.x86_64.rpm
    -rw-r--r-- 1 root nginx 5.7K Sep 18 07:47 mod_socache_dc-2.4.16-1.x86_64.rpm
    -rw-r--r-- 1 root nginx  82K Sep 18 07:47 mod_ssl-2.4.16-1.x86_64.rpm
    Code:
    rpm -qa | egrep '(apr|distcache|mod_socache|mod_authnz_ldap|mod_ssl|httpd)'
    apr-1.5.2-1.x86_64
    apr-util-dbm-1.5.4-1.x86_64
    apr-util-freetds-1.5.4-1.x86_64
    apr-util-nss-1.5.4-1.x86_64
    httpd-tools-2.4.16-1.x86_64
    mod_socache_dc-2.4.16-1.x86_64
    distcache-devel-1.4.5-23.x86_64
    apr-devel-1.5.2-1.x86_64
    apr-util-devel-1.5.4-1.x86_64
    apr-util-pgsql-1.5.4-1.x86_64
    apr-util-sqlite-1.5.4-1.x86_64
    apr-util-odbc-1.5.4-1.x86_64
    apr-util-openssl-1.5.4-1.x86_64
    httpd-2.4.16-1.x86_64
    httpd-manual-2.4.16-1.x86_64
    mod_authnz_ldap-2.4.16-1.x86_64
    mod_ssl-2.4.16-1.x86_64
    distcache-1.4.5-23.x86_64
    apr-util-1.5.4-1.x86_64
    apr-util-mysql-1.5.4-1.x86_64
    apr-util-ldap-1.5.4-1.x86_64
    httpd-devel-2.4.16-1.x86_64
    Code:
    rpm -ql httpd | egrep 'sbin|modules'
    /etc/httpd/modules
    /usr/lib64/httpd/modules
    /usr/lib64/httpd/modules/mod_access_compat.so
    /usr/lib64/httpd/modules/mod_actions.so
    /usr/lib64/httpd/modules/mod_alias.so
    /usr/lib64/httpd/modules/mod_allowmethods.so
    /usr/lib64/httpd/modules/mod_asis.so
    /usr/lib64/httpd/modules/mod_auth_basic.so
    /usr/lib64/httpd/modules/mod_auth_digest.so
    /usr/lib64/httpd/modules/mod_auth_form.so
    /usr/lib64/httpd/modules/mod_authn_anon.so
    /usr/lib64/httpd/modules/mod_authn_core.so
    /usr/lib64/httpd/modules/mod_authn_dbd.so
    /usr/lib64/httpd/modules/mod_authn_dbm.so
    /usr/lib64/httpd/modules/mod_authn_file.so
    /usr/lib64/httpd/modules/mod_authn_socache.so
    /usr/lib64/httpd/modules/mod_authz_core.so
    /usr/lib64/httpd/modules/mod_authz_dbd.so
    /usr/lib64/httpd/modules/mod_authz_dbm.so
    /usr/lib64/httpd/modules/mod_authz_groupfile.so
    /usr/lib64/httpd/modules/mod_authz_host.so
    /usr/lib64/httpd/modules/mod_authz_owner.so
    /usr/lib64/httpd/modules/mod_authz_user.so
    /usr/lib64/httpd/modules/mod_autoindex.so
    /usr/lib64/httpd/modules/mod_bucketeer.so
    /usr/lib64/httpd/modules/mod_buffer.so
    /usr/lib64/httpd/modules/mod_cache.so
    /usr/lib64/httpd/modules/mod_cache_disk.so
    /usr/lib64/httpd/modules/mod_cache_socache.so
    /usr/lib64/httpd/modules/mod_case_filter.so
    /usr/lib64/httpd/modules/mod_case_filter_in.so
    /usr/lib64/httpd/modules/mod_cgid.so
    /usr/lib64/httpd/modules/mod_charset_lite.so
    /usr/lib64/httpd/modules/mod_data.so
    /usr/lib64/httpd/modules/mod_dav.so
    /usr/lib64/httpd/modules/mod_dav_fs.so
    /usr/lib64/httpd/modules/mod_dav_lock.so
    /usr/lib64/httpd/modules/mod_dbd.so
    /usr/lib64/httpd/modules/mod_deflate.so
    /usr/lib64/httpd/modules/mod_dialup.so
    /usr/lib64/httpd/modules/mod_dir.so
    /usr/lib64/httpd/modules/mod_dumpio.so
    /usr/lib64/httpd/modules/mod_echo.so
    /usr/lib64/httpd/modules/mod_env.so
    /usr/lib64/httpd/modules/mod_expires.so
    /usr/lib64/httpd/modules/mod_ext_filter.so
    /usr/lib64/httpd/modules/mod_file_cache.so
    /usr/lib64/httpd/modules/mod_filter.so
    /usr/lib64/httpd/modules/mod_headers.so
    /usr/lib64/httpd/modules/mod_heartbeat.so
    /usr/lib64/httpd/modules/mod_heartmonitor.so
    /usr/lib64/httpd/modules/mod_include.so
    /usr/lib64/httpd/modules/mod_info.so
    /usr/lib64/httpd/modules/mod_lbmethod_bybusyness.so
    /usr/lib64/httpd/modules/mod_lbmethod_byrequests.so
    /usr/lib64/httpd/modules/mod_lbmethod_bytraffic.so
    /usr/lib64/httpd/modules/mod_lbmethod_heartbeat.so
    /usr/lib64/httpd/modules/mod_log_config.so
    /usr/lib64/httpd/modules/mod_log_debug.so
    /usr/lib64/httpd/modules/mod_log_forensic.so
    /usr/lib64/httpd/modules/mod_logio.so
    /usr/lib64/httpd/modules/mod_macro.so
    /usr/lib64/httpd/modules/mod_mime.so
    /usr/lib64/httpd/modules/mod_mime_magic.so
    /usr/lib64/httpd/modules/mod_mpm_event.so
    /usr/lib64/httpd/modules/mod_mpm_prefork.so
    /usr/lib64/httpd/modules/mod_mpm_worker.so
    /usr/lib64/httpd/modules/mod_negotiation.so
    /usr/lib64/httpd/modules/mod_proxy.so
    /usr/lib64/httpd/modules/mod_proxy_ajp.so
    /usr/lib64/httpd/modules/mod_proxy_balancer.so
    /usr/lib64/httpd/modules/mod_proxy_connect.so
    /usr/lib64/httpd/modules/mod_proxy_express.so
    /usr/lib64/httpd/modules/mod_proxy_fcgi.so
    /usr/lib64/httpd/modules/mod_proxy_fdpass.so
    /usr/lib64/httpd/modules/mod_proxy_ftp.so
    /usr/lib64/httpd/modules/mod_proxy_http.so
    /usr/lib64/httpd/modules/mod_proxy_scgi.so
    /usr/lib64/httpd/modules/mod_proxy_wstunnel.so
    /usr/lib64/httpd/modules/mod_ratelimit.so
    /usr/lib64/httpd/modules/mod_reflector.so
    /usr/lib64/httpd/modules/mod_remoteip.so
    /usr/lib64/httpd/modules/mod_reqtimeout.so
    /usr/lib64/httpd/modules/mod_request.so
    /usr/lib64/httpd/modules/mod_rewrite.so
    /usr/lib64/httpd/modules/mod_sed.so
    /usr/lib64/httpd/modules/mod_session.so
    /usr/lib64/httpd/modules/mod_session_cookie.so
    /usr/lib64/httpd/modules/mod_session_crypto.so
    /usr/lib64/httpd/modules/mod_session_dbd.so
    /usr/lib64/httpd/modules/mod_setenvif.so
    /usr/lib64/httpd/modules/mod_slotmem_plain.so
    /usr/lib64/httpd/modules/mod_slotmem_shm.so
    /usr/lib64/httpd/modules/mod_socache_dbm.so
    /usr/lib64/httpd/modules/mod_socache_memcache.so
    /usr/lib64/httpd/modules/mod_socache_shmcb.so
    /usr/lib64/httpd/modules/mod_speling.so
    /usr/lib64/httpd/modules/mod_status.so
    /usr/lib64/httpd/modules/mod_substitute.so
    /usr/lib64/httpd/modules/mod_suexec.so
    /usr/lib64/httpd/modules/mod_unique_id.so
    /usr/lib64/httpd/modules/mod_unixd.so
    /usr/lib64/httpd/modules/mod_userdir.so
    /usr/lib64/httpd/modules/mod_usertrack.so
    /usr/lib64/httpd/modules/mod_version.so
    /usr/lib64/httpd/modules/mod_vhost_alias.so
    /usr/lib64/httpd/modules/mod_watchdog.so
    /usr/sbin/apachectl
    /usr/sbin/fcgistarter
    /usr/sbin/htcacheclean
    /usr/sbin/httpd
    /usr/sbin/suexec
    Code:
    /usr/sbin/apachectl -V
    Server version: Apache/2.4.16 (Unix)
    Server built:   Sep 18 2015 07:41:21
    Server's Module Magic Number: 20120211:47
    Server loaded:  APR 1.5.2, APR-UTIL 1.5.4
    Compiled using: APR 1.5.2, APR-UTIL 1.5.4
    Architecture:   64-bit
    Server MPM:     event
      threaded:     yes (fixed thread count)
        forked:     yes (variable process count)
    Server compiled with....
    -D APR_HAS_SENDFILE
    -D APR_HAS_MMAP
    -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
    -D APR_USE_SYSVSEM_SERIALIZE
    -D APR_USE_PTHREAD_SERIALIZE
    -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
    -D APR_HAS_OTHER_CHILD
    -D AP_HAVE_RELIABLE_PIPED_LOGS
    -D DYNAMIC_MODULE_LIMIT=256
    -D HTTPD_ROOT="/usr"
    -D SUEXEC_BIN="/usr/sbin/suexec"
    -D DEFAULT_PIDLOG="/var/run/httpd.pid"
    -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
    -D DEFAULT_ERRORLOG="logs/error_log"
    -D AP_TYPES_CONFIG_FILE="/etc/httpd/conf/mime.types"
    -D SERVER_CONFIG_FILE="/etc/httpd/conf/httpd.conf"
    One the optimised installer configures Apache 2.4, the default loaded modules will be right now
    Code:
    cat /etc/httpd/conf/httpd.conf | grep 'LoadModule' | grep -v '#'
    LoadModule authn_file_module lib64/httpd/modules/mod_authn_file.so
    LoadModule authn_core_module lib64/httpd/modules/mod_authn_core.so
    LoadModule authz_host_module lib64/httpd/modules/mod_authz_host.so
    LoadModule authz_groupfile_module lib64/httpd/modules/mod_authz_groupfile.so
    LoadModule authz_user_module lib64/httpd/modules/mod_authz_user.so
    LoadModule authz_core_module lib64/httpd/modules/mod_authz_core.so
    LoadModule access_compat_module lib64/httpd/modules/mod_access_compat.so
    LoadModule auth_basic_module lib64/httpd/modules/mod_auth_basic.so
    LoadModule reqtimeout_module lib64/httpd/modules/mod_reqtimeout.so
    LoadModule filter_module lib64/httpd/modules/mod_filter.so
    LoadModule deflate_module lib64/httpd/modules/mod_deflate.so
    LoadModule mime_module lib64/httpd/modules/mod_mime.so
    LoadModule log_config_module lib64/httpd/modules/mod_log_config.so
    LoadModule env_module lib64/httpd/modules/mod_env.so
    LoadModule headers_module lib64/httpd/modules/mod_headers.so
    LoadModule setenvif_module lib64/httpd/modules/mod_setenvif.so
    LoadModule version_module lib64/httpd/modules/mod_version.so
    LoadModule proxy_module lib64/httpd/modules/mod_proxy.so
    LoadModule proxy_fcgi_module lib64/httpd/modules/mod_proxy_fcgi.so
    LoadModule mpm_event_module lib64/httpd/modules/mod_mpm_event.so
    LoadModule unixd_module lib64/httpd/modules/mod_unixd.so
    LoadModule status_module lib64/httpd/modules/mod_status.so
    LoadModule autoindex_module lib64/httpd/modules/mod_autoindex.so
    LoadModule dir_module lib64/httpd/modules/mod_dir.so
    LoadModule alias_module lib64/httpd/modules/mod_alias.so
    
    default enabled include files in /etc/httpd/conf/httpd.conf will be
    Code:
    cat /etc/httpd/conf/httpd.conf | grep 'Include ' | grep -v '#'
    Include /etc/httpd/conf/extra/httpd-mpm.conf
    Include /etc/httpd/conf/extra/httpd-autoindex.conf
    Include /etc/httpd/conf/extra/httpd-info.conf
    Include /etc/httpd/conf/extra/httpd-vhosts.conf
    Include /etc/httpd/conf/extra/httpd-default.conf
    Include /etc/httpd/conf/extra/proxy-html.conf
    Include /etc/httpd/conf/extra/httpd-deflate.conf
    
    Almost perfect on first start just need to remove the dummy vhost entry
    Code:
    service httpd start
    Starting httpd: AH00112: Warning: DocumentRoot [/usr/docs/dummy-host2.example.com] does not exist
                                                               [  OK  ]
    contents of /etc/httpd/conf/extra/httpd-vhosts.conf
    Code:
    # Virtual Hosts
    #
    # Required modules: mod_log_config
    
    # If you want to maintain multiple domains/hostnames on your
    # machine you can setup VirtualHost containers for them. Most configurations
    # use only name-based virtual hosts so the server doesn't need to worry about
    # IP addresses. This is indicated by the asterisks in the directives below.
    #
    # Please see the documentation at
    # <URL:http://httpd.apache.org/docs/2.4/vhosts/>
    # for further details before you try to setup virtual hosts.
    #
    # You may use the command line option '-S' to verify your virtual host
    # configuration.
    
    #
    # VirtualHost example:
    # Almost any Apache directive may go into a VirtualHost container.
    # The first VirtualHost section is used for all requests that do not
    # match a ServerName or ServerAlias in any <VirtualHost> block.
    #
    <VirtualHost *:7681>
        ServerAdmin webmaster@host.newdomain.com
        DocumentRoot "/var/www/html"
        ServerName host.newdomain.com
        ServerAlias www.host.newdomain.com
        ErrorLog "/var/log/httpd/host.newdomain.com-error_log"
        CustomLog "/var/log/httpd/host.newdomain.com-access_log" common
    </VirtualHost>
    
    <VirtualHost *:7681>
        ServerAdmin webmaster@dummy-host2.example.com
        DocumentRoot "/usr/docs/dummy-host2.example.com"
        ServerName dummy-host2.example.com
        ErrorLog "/var/log/httpd/dummy-host2.example.com-error_log"
        CustomLog "/var/log/httpd/dummy-host2.example.com-access_log" common
    </VirtualHost>
    logrotate at /etc/logrotate.d/httpd
    Code:
    /var/log/httpd/*log {
        missingok
        notifempty
        sharedscripts
        postrotate
            /sbin/service httpd graceful 2> /dev/null || true
        endscript
    }
    
    
    Code:
    curl -I http://host.newdomain.com:7681
    HTTP/1.1 200 OK
    Date: Fri, 18 Sep 2015 08:44:27 GMT
    Server: Apache
    Last-Modified: Mon, 11 Jun 2007 18:53:14 GMT
    ETag: "2d-432a5e4a73a80"
    Accept-Ranges: bytes
    Content-Length: 45
    Vary: User-Agent
    Content-Type: text/html; charset=utf-8
     
    Last edited: Sep 18, 2015
  2. eva2000

    eva2000 Administrator Staff Member

    30,161
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    4:07 AM
    Nginx 1.13.x
    MariaDB 5.5
  3. eva2000

    eva2000 Administrator Staff Member

    30,161
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    4:07 AM
    Nginx 1.13.x
    MariaDB 5.5
    Last edited: Oct 24, 2015
  4. eva2000

    eva2000 Administrator Staff Member

    30,161
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    4:07 AM
    Nginx 1.13.x
    MariaDB 5.5
    Apache 2.4.17 gets HTTP/2 support Apache HTTP Server Project :)

     
  5. eva2000

    eva2000 Administrator Staff Member

    30,161
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    4:07 AM
    Nginx 1.13.x
    MariaDB 5.5

    Custom Built Apache 2.4.17 RPM for Centmin Mod LEMP stacks



    Built Apache 2.4.17 custom RPMs :)

    Code:
    ls --format=single-column -rt /home/rpmbuilder/rpmbuild/RPMS/x86_64/
    distcache-devel-1.4.5-23.x86_64.rpm
    distcache-1.4.5-23.x86_64.rpm
    apr-1.5.2-1.x86_64.rpm
    apr-devel-1.5.2-1.x86_64.rpm
    apr-debuginfo-1.5.2-1.x86_64.rpm
    apr-util-1.5.4-1.x86_64.rpm
    apr-util-devel-1.5.4-1.x86_64.rpm
    apr-util-dbm-1.5.4-1.x86_64.rpm
    apr-util-pgsql-1.5.4-1.x86_64.rpm
    apr-util-mysql-1.5.4-1.x86_64.rpm
    apr-util-sqlite-1.5.4-1.x86_64.rpm
    apr-util-freetds-1.5.4-1.x86_64.rpm
    apr-util-odbc-1.5.4-1.x86_64.rpm
    apr-util-ldap-1.5.4-1.x86_64.rpm
    apr-util-openssl-1.5.4-1.x86_64.rpm
    apr-util-nss-1.5.4-1.x86_64.rpm
    apr-util-debuginfo-1.5.4-1.x86_64.rpm
    httpd-2.4.17-1.x86_64.rpm
    httpd-devel-2.4.17-1.x86_64.rpm
    httpd-manual-2.4.17-1.x86_64.rpm
    httpd-tools-2.4.17-1.x86_64.rpm
    mod_authnz_ldap-2.4.17-1.x86_64.rpm
    mod_lua-2.4.17-1.x86_64.rpm
    mod_proxy_html-2.4.17-1.x86_64.rpm
    mod_socache_dc-2.4.17-1.x86_64.rpm
    mod_ssl-2.4.17-1.x86_64.rpm
    httpd-debuginfo-2.4.17-1.x86_64.rpm
    
    Code:
    rpm -qa | egrep '(apr|distcache|mod_socache|mod_lua|mod_proxy|mod_authnz_ldap|mod_ssl|httpd)'
    apr-devel-1.5.2-1.x86_64
    distcache-1.4.5-23.x86_64
    apr-util-dbm-1.5.4-1.x86_64
    apr-util-freetds-1.5.4-1.x86_64
    apr-util-nss-1.5.4-1.x86_64
    httpd-manual-2.4.17-1.x86_64
    mod_proxy_html-2.4.17-1.x86_64
    apr-1.5.2-1.x86_64
    apr-util-devel-1.5.4-1.x86_64
    apr-util-pgsql-1.5.4-1.x86_64
    apr-util-sqlite-1.5.4-1.x86_64
    apr-util-odbc-1.5.4-1.x86_64
    apr-util-openssl-1.5.4-1.x86_64
    distcache-devel-1.4.5-23.x86_64
    httpd-devel-2.4.17-1.x86_64
    httpd-tools-2.4.17-1.x86_64
    mod_lua-2.4.17-1.x86_64
    mod_socache_dc-2.4.17-1.x86_64
    apr-util-1.5.4-1.x86_64
    apr-util-mysql-1.5.4-1.x86_64
    apr-util-ldap-1.5.4-1.x86_64
    httpd-2.4.17-1.x86_64
    mod_authnz_ldap-2.4.17-1.x86_64
    mod_ssl-2.4.17-1.x86_64
    Code:
    httpd -V
    
    Server version: Apache/2.4.17 (Unix)
    Server built:   Oct 22 2015 15:18:13
    Server's Module Magic Number: 20120211:51
    Server loaded:  APR 1.5.2, APR-UTIL 1.5.4
    Compiled using: APR 1.5.2, APR-UTIL 1.5.4
    Architecture:   64-bit
    Server MPM:     event
      threaded:     yes (fixed thread count)
        forked:     yes (variable process count)
    Server compiled with....
    -D APR_HAS_SENDFILE
    -D APR_HAS_MMAP
    -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
    -D APR_USE_SYSVSEM_SERIALIZE
    -D APR_USE_PTHREAD_SERIALIZE
    -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
    -D APR_HAS_OTHER_CHILD
    -D AP_HAVE_RELIABLE_PIPED_LOGS
    -D DYNAMIC_MODULE_LIMIT=256
    -D HTTPD_ROOT="/usr"
    -D SUEXEC_BIN="/usr/sbin/suexec"
    -D DEFAULT_PIDLOG="/var/run/httpd.pid"
    -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
    -D DEFAULT_ERRORLOG="logs/error_log"
    -D AP_TYPES_CONFIG_FILE="/etc/httpd/conf/mime.types"
    -D SERVER_CONFIG_FILE="/etc/httpd/conf/httpd.conf"
    
     
  6. eva2000

    eva2000 Administrator Staff Member

    30,161
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    4:07 AM
    Nginx 1.13.x
    MariaDB 5.5
    Ouch Apache 2.4.17 has a nasty bug Bug 57785 – REDIRECT_URL is not suitable for use in server-generated pages
     
  7. eva2000

    eva2000 Administrator Staff Member

    30,161
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    4:07 AM
    Nginx 1.13.x
    MariaDB 5.5

    Custom Built Apache 2.4.20 RPM for Centmin Mod LEMP stacks



    Built Apache 2.4.20 custom RPMs :) Though I think I need to look at reconfiguring Apache 2.4.20 to use custom OpenSSL 1.0.2h+ instead of system OpenSSL 1.0.1e on CentOS as well :)

    Code (Text):
    ls --format=single-column -rt /home/rpmbuilder/rpmbuild/RPMS/x86_64/
    distcache-1.4.5-23.x86_64.rpm
    distcache-devel-1.4.5-23.x86_64.rpm
    apr-1.5.2-1.x86_64.rpm
    apr-devel-1.5.2-1.x86_64.rpm
    apr-debuginfo-1.5.2-1.x86_64.rpm
    apr-util-1.5.4-1.x86_64.rpm
    apr-util-devel-1.5.4-1.x86_64.rpm
    apr-util-dbm-1.5.4-1.x86_64.rpm
    apr-util-pgsql-1.5.4-1.x86_64.rpm
    apr-util-mysql-1.5.4-1.x86_64.rpm
    apr-util-sqlite-1.5.4-1.x86_64.rpm
    apr-util-freetds-1.5.4-1.x86_64.rpm
    apr-util-odbc-1.5.4-1.x86_64.rpm
    apr-util-ldap-1.5.4-1.x86_64.rpm
    apr-util-openssl-1.5.4-1.x86_64.rpm
    apr-util-nss-1.5.4-1.x86_64.rpm
    apr-util-debuginfo-1.5.4-1.x86_64.rpm
    httpd-2.4.20-1.x86_64.rpm
    httpd-devel-2.4.20-1.x86_64.rpm
    httpd-manual-2.4.20-1.x86_64.rpm
    httpd-tools-2.4.20-1.x86_64.rpm
    mod_authnz_ldap-2.4.20-1.x86_64.rpm
    mod_lua-2.4.20-1.x86_64.rpm
    mod_proxy_html-2.4.20-1.x86_64.rpm
    mod_socache_dc-2.4.20-1.x86_64.rpm
    mod_ssl-2.4.20-1.x86_64.rpm
    httpd-debuginfo-2.4.20-1.x86_64.rpm
    

    Code (Text):
    rpm -qa | egrep '(apr|distcache|mod_socache|mod_lua|mod_proxy|mod_authnz_ldap|mod_ssl|httpd)'
    apr-1.5.2-1.x86_64
    apr-util-dbm-1.5.4-1.x86_64
    apr-util-freetds-1.5.4-1.x86_64
    apr-util-nss-1.5.4-1.x86_64
    httpd-tools-2.4.20-1.x86_64
    mod_socache_dc-2.4.20-1.x86_64
    distcache-devel-1.4.5-23.x86_64
    apr-util-devel-1.5.4-1.x86_64
    apr-util-sqlite-1.5.4-1.x86_64
    apr-util-openssl-1.5.4-1.x86_64
    httpd-manual-2.4.20-1.x86_64
    mod_proxy_html-2.4.20-1.x86_64
    distcache-1.4.5-23.x86_64
    apr-util-1.5.4-1.x86_64
    apr-util-mysql-1.5.4-1.x86_64
    apr-util-ldap-1.5.4-1.x86_64
    httpd-devel-2.4.20-1.x86_64
    mod_lua-2.4.20-1.x86_64
    apr-devel-1.5.2-1.x86_64
    apr-util-pgsql-1.5.4-1.x86_64
    apr-util-odbc-1.5.4-1.x86_64
    httpd-2.4.20-1.x86_64
    mod_authnz_ldap-2.4.20-1.x86_64
    mod_ssl-2.4.20-1.x86_64
    

    Code (Text):
    cat /etc/httpd/conf/httpd.conf | grep 'LoadModule' | grep -v '#'
    LoadModule authn_file_module lib64/httpd/modules/mod_authn_file.so
    LoadModule authn_core_module lib64/httpd/modules/mod_authn_core.so
    LoadModule authz_host_module lib64/httpd/modules/mod_authz_host.so
    LoadModule authz_groupfile_module lib64/httpd/modules/mod_authz_groupfile.so
    LoadModule authz_user_module lib64/httpd/modules/mod_authz_user.so
    LoadModule authz_core_module lib64/httpd/modules/mod_authz_core.so
    LoadModule access_compat_module lib64/httpd/modules/mod_access_compat.so
    LoadModule auth_basic_module lib64/httpd/modules/mod_auth_basic.so
    LoadModule reqtimeout_module lib64/httpd/modules/mod_reqtimeout.so
    LoadModule filter_module lib64/httpd/modules/mod_filter.so
    LoadModule deflate_module lib64/httpd/modules/mod_deflate.so
    LoadModule mime_module lib64/httpd/modules/mod_mime.so
    LoadModule log_config_module lib64/httpd/modules/mod_log_config.so
    LoadModule env_module lib64/httpd/modules/mod_env.so
    LoadModule headers_module lib64/httpd/modules/mod_headers.so
    LoadModule setenvif_module lib64/httpd/modules/mod_setenvif.so
    LoadModule version_module lib64/httpd/modules/mod_version.so
    LoadModule proxy_module lib64/httpd/modules/mod_proxy.so
    LoadModule proxy_fcgi_module lib64/httpd/modules/mod_proxy_fcgi.so
    LoadModule mpm_event_module lib64/httpd/modules/mod_mpm_event.so
    LoadModule unixd_module lib64/httpd/modules/mod_unixd.so
    LoadModule status_module lib64/httpd/modules/mod_status.so
    LoadModule autoindex_module lib64/httpd/modules/mod_autoindex.so
    LoadModule dir_module lib64/httpd/modules/mod_dir.so
    LoadModule alias_module lib64/httpd/modules/mod_alias.so
    

    Code (Text):
    cat /etc/httpd/conf/httpd.conf | grep 'Include ' | grep -v '#'
    Include /etc/httpd/conf/extra/httpd-mpm.conf
    Include /etc/httpd/conf/extra/httpd-autoindex.conf
    Include /etc/httpd/conf/extra/httpd-info.conf
    Include /etc/httpd/conf/extra/httpd-vhosts.conf
    Include /etc/httpd/conf/extra/httpd-default.conf
    Include /etc/httpd/conf/extra/proxy-html.conf
    Include /etc/httpd/conf/extra/httpd-deflate.conf
    

    Code (Text):
    httpd -V
    
    Server version: Apache/2.4.20 (Unix)
    Server built:   Jun 19 2016 14:50:06
    Server's Module Magic Number: 20120211:57
    Server loaded:  APR 1.5.2, APR-UTIL 1.5.4
    Compiled using: APR 1.5.2, APR-UTIL 1.5.4
    Architecture:   64-bit
    Server MPM:     event
      threaded:     yes (fixed thread count)
        forked:     yes (variable process count)
    Server compiled with....
    -D APR_HAS_SENDFILE
    -D APR_HAS_MMAP
    -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
    -D APR_USE_SYSVSEM_SERIALIZE
    -D APR_USE_PTHREAD_SERIALIZE
    -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
    -D APR_HAS_OTHER_CHILD
    -D AP_HAVE_RELIABLE_PIPED_LOGS
    -D DYNAMIC_MODULE_LIMIT=256
    -D HTTPD_ROOT="/usr"
    -D SUEXEC_BIN="/usr/sbin/suexec"
    -D DEFAULT_PIDLOG="/var/run/httpd.pid"
    -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
    -D DEFAULT_ERRORLOG="logs/error_log"
    -D AP_TYPES_CONFIG_FILE="/etc/httpd/conf/mime.types"
    -D SERVER_CONFIG_FILE="/etc/httpd/conf/httpd.conf"
    

    Code (Text):
    curl -I http://apache.domain.com
    HTTP/1.1 200 OK
    Date: Sun, 19 Jun 2016 15:22:26 GMT
    Server: Apache
    Last-Modified: Mon, 11 Jun 2007 18:53:14 GMT
    ETag: "2d-432a5e4a73a80"
    Accept-Ranges: bytes
    Content-Length: 45
    Vary: User-Agent
    Content-Type: text/html; charset=utf-8
     
    Last edited: Jun 20, 2016
  8. eva2000

    eva2000 Administrator Staff Member

    30,161
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    4:07 AM
    Nginx 1.13.x
    MariaDB 5.5

    Apache 2.4.27 RPM for Centmin Mod LEMP stacks



    Just testing Apache 2.4.27 RPMs for Centmin Mod LEMP stacks. Not bothering with custom OpenSSL 1.0.2 compiles anymore seeing as Redhat 7.4 and CentOS 7.4 are rebasing OpenSSL 1.0.2k defaults to begin with so get full Apache HTTP/2 / ALPN protocol support out of the box when 7.4 is released.

    Code (Text):
    httpd -V
    Server version: Apache/2.4.27 (CentOS)
    Server built:   Jul 10 2017 09:38:04
    Server's Module Magic Number: 20120211:68
    Server loaded:  APR 1.5.2, APR-UTIL 1.5.4
    Compiled using: APR 1.5.2, APR-UTIL 1.5.4
    Architecture:   64-bit
    Server MPM:     event
      threaded:     no
        forked:     yes (variable process count)
    Server compiled with....
     -D APR_HAS_SENDFILE
     -D APR_HAS_MMAP
     -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
     -D APR_USE_SYSVSEM_SERIALIZE
     -D APR_USE_PTHREAD_SERIALIZE
     -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
     -D APR_HAS_OTHER_CHILD
     -D AP_HAVE_RELIABLE_PIPED_LOGS
     -D DYNAMIC_MODULE_LIMIT=256
     -D HTTPD_ROOT="/usr"
     -D SUEXEC_BIN="/usr/sbin/suexec"
     -D DEFAULT_PIDLOG="/var/run/httpd.pid"
     -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
     -D DEFAULT_ERRORLOG="logs/error_log"
     -D AP_TYPES_CONFIG_FILE="/etc/httpd/conf/mime.types"
     -D SERVER_CONFIG_FILE="/etc/httpd/conf/httpd.conf"
    
     
Thread Status:
Not open for further replies.