Bug 7973 - apache not loading extramodule mod_proxy_html
Summary: apache not loading extramodule mod_proxy_html
Status: RESOLVED INVALID
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 2
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Guillaume Rousse
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-04 15:34 CET by Yves Metivier
Modified: 2012-11-17 14:06 CET (History)
0 users

See Also:
Source RPM: apache-2.2.23-1.mga2
CVE:
Status comment:


Attachments

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


Note You need to log in before you can comment on or make changes to this bug.