Enhancement #1937

Httpd: load all standard CentOS modules

Added by Giacomo Sanchietti over 6 years ago. Updated over 6 years ago.

Status:CLOSEDStart date:06/21/2013
Priority:NormalDue date:07/19/2013
Assignee:-% Done:

100%

Category:nethserver-httpd
Target version:v6.4-beta2
Resolution: NEEDINFO:No

Description

Current nethserver-httpd package do not load all CentOS standard modules.
Should we rewrite the templates to load all default modules?

Pro:
  • standard compliant
Cons:
  • many unused modules loaded
  • can't add/remove modules programmatically from templates
Modules using current implmentation:
  • ibays
  • sogo

In attachment some custom templates to restore original httpd configuration.

httpd.conf.tgz (2.28 KB) Giacomo Sanchietti, 05/13/2013 02:46 PM


Related issues

Related to NethServer 6 - Enhancement #2074: Sogo: remove apache "already loaded" warnings CLOSED 11/27/2013 11/27/2013
Blocks NethServer 6 - Enhancement #1918: Httpd: add cgi support CLOSED

Associated revisions

Revision 2501a0af
Added by Giacomo Sanchietti over 6 years ago

httpd.conf template: restore all standard module, leave @module variable for compatibility with existing templates. Refs #1918 #1937

History

#2 Updated by Davide Principi over 6 years ago

  • Tracker changed from Bug to Enhancement

#3 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from NEW to TRIAGED
  • Assignee set to Giacomo Sanchietti
  • % Done changed from 0 to 20

Restore all standard module without loosing the possibility to add extra modules with special tempaltes.

#4 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from TRIAGED to ON_DEV
  • % Done changed from 20 to 30

#5 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 30 to 70

Patch applied with little modifications.

#6 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from MODIFIED to ON_QA
  • % Done changed from 70 to 80

Package in testing: nethserver-httpd-2.1.1-1

Test and install:
  • yum --enablerepo=nethserver-testing update nethserver-httpd
  • check standard module work fine (eg. mod_auth)

#7 Updated by Davide Principi over 6 years ago

  • Assignee deleted (Giacomo Sanchietti)

ON_QA: Assignee reset

#8 Updated by Davide Principi over 6 years ago

  • Assignee set to Davide Principi

#9 Updated by Davide Principi over 6 years ago

Re-packaged as version 2.2.1

In nethserver-testing:
nethserver-httpd-2.2.1-1.ns6.noarch.rpm

#10 Updated by Davide Principi over 6 years ago

  • Due date set to 07/19/2013
  • Status changed from ON_QA to VERIFIED
  • Assignee deleted (Davide Principi)
  • Start date set to 06/21/2013
  • % Done changed from 80 to 100

VERIFIED

Tested with
  • nethserver-ibays
  • nethserver-lightsquid
  • nethserver-sogo

Only nethserver-sogo produces the following warnings:

    # apachectl -t
[Fri Jul 19 09:49:44 2013] [warn] module env_module is already loaded, skipping
[Fri Jul 19 09:49:44 2013] [warn] module headers_module is already loaded, skipping
[Fri Jul 19 09:49:44 2013] [warn] module rewrite_module is already loaded, skipping
[Fri Jul 19 09:49:44 2013] [warn] module expires_module is already loaded, skipping
[Fri Jul 19 09:49:44 2013] [warn] module proxy_module is already loaded, skipping
[Fri Jul 19 09:49:44 2013] [warn] module proxy_http_module is already loaded, skipping
Syntax OK

RPMs:

    # rpm -qa | grep -F .ns6
nethserver-smartd-1.0.0-1.ns6.noarch
nethserver-yum-1.1.0-1.ns6.noarch
nethserver-nethgui-1.2.1-1.ns6.noarch
nethserver-backup-config-1.0.3-1.ns6.noarch
nethserver-mail-common-1.2.1-1.ns6.noarch
nethserver-ibays-2.0.0-1.ns6.noarch
nethserver-httpd-admin-1.0.4-1.ns6.noarch
nethserver-grub-1.0.1-1.ns6.noarch
nethserver-openssh-1.0.2-1.ns6.noarch
nethserver-lib-1.2.0-1.ns6.noarch
postfix-2.9.6-2.ns6.x86_64
nethserver-ntp-1.0.4-1.ns6.noarch
dovecot-antispam-0.0.49-1.ns6.x86_64
nethserver-memcached-1.0.1-1.ns6.noarch
nethserver-mysql-1.0.3-1.ns6.noarch
nethserver-sogo-1.2.1-1.ns6.noarch
nethserver-shorewall-1.0.0-1.ns6.noarch
nethserver-squid-1.0.2-1.ns6.noarch
nethserver-php-1.1.0-1.ns6.noarch
nethserver-base-1.3.1-1.ns6.noarch
nethserver-httpd-2.2.1-1.ns6.noarch
nethserver-directory-1.2.2-1.ns6.noarch
nethserver-mail-server-1.4.3-1.ns6.noarch
nethserver-firewall-base-1.0.3-1.ns6.noarch
nethserver-lightsquid-1.0.2-1.ns6.noarch

#11 Updated by Davide Principi over 6 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100

Moved to nethserver-updates repository

Also available in: Atom PDF