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)
Assignee: bugsquad => guillomovitch
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 => RESOLVEDResolution: (none) => INVALID