Bug 7973

Summary: apache not loading extramodule mod_proxy_html
Product: Mageia Reporter: Yves Metivier <yves>
Component: RPM PackagesAssignee: Guillaume Rousse <guillomovitch>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Normal    
Version: 2   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: apache-2.2.23-1.mga2 CVE:
Status comment:

Description Yves Metivier 2012-11-04 15:34:51 CET
Description of problem:
After installing mageia2 on a new PC, I tried to configure it as my running server (which runs mandriva 2009.1).
But apache failed to start, with the following error : 
    "Invalid command 'ProxyHTMLURLMap', perhaps..."
After doing some searches, I found that when launched with '/etc/init.d/httpd start' it started correctly.
The difference seems to bee that when launched with systemctl, the parameters "-DHAVE_...." are not set, resulting in not loading corresponding modules.

Module version apache-mod_proxy_html-3.1.2-0.r142.5-mdv2011.0.x86_64.rpm

How reproducible: permanent

Steps to Reproduce:
- define a vhost with ProxyHTMLURLMap directive
- start with systemctl (or with service which uses systemctl)
Manuel Hiebel 2012-11-05 21:08:16 CET

Assignee: bugsquad => guillomovitch

Comment 1 Guillaume Rousse 2012-11-17 14:06:55 CET
There isn't any -DHAVE_ symbols passed to apache at startup anymore, and all apache packages have been fixed accordingly to be loaded unconditionally. I can't find any apache-mod_proxy_html package in mageia, and as the release tag show, the one you're using comes from mandriva, not mageia...

Quick fix for you: drop the <IfDefine HAVE_SOMETHING> conditional in the module configuration file.

Status: NEW => RESOLVED
Resolution: (none) => INVALID