• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Impossible to reconfigure httpdmng - Error with mod_rpaf

jeanpaul

Basic Pleskian
Hi,
i'm on Centos 6.0 - 64 bits and plesk 11.0.9
i get a big problem with the last micro update, i can't rebuild httpd config files.

the bug comes from mod_rpaf

<IfModule mod_rpaf.c>
RPAFenable On
RPAFsethostname On
RPAFproxy_ips 127.0.0.1 xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx
</IfModule>

When plesk regenerate /usr/local/psa/admin/conf/generated server.include i get

[Mon Nov 19 10:37:05 2012] [warn] module rpaf_module is already loaded, skipping
Syntax error on line 7 of /usr/local/psa/admin/conf/generated/13533178250.78331900_server.include:
Invalid command 'RPAFenable', perhaps misspelled or defined by a module not included in the server configuration

and if i check my httpd/conf.d, there are 2 files mod_rpaf.conf and rpaf.conf, but not the same config files

rpaf.conf

LoadModule rpaf_module modules/mod_rpaf.so


<IfModule mod_rpaf-2.0.c>
RPAFenable On
RPAFsethostname On
RPAFproxy_ips 127.0.0.1 xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx
RPAFheader X-Forwarded-For
</IfModule>

For mod_rpaf.conf

<IfModule mod_rpaf.c>
RPAF_Enable Off
RPAF_ProxyIPs 127.0.0.1
RPAF_Header X-Forwarded-For
RPAF_SetHostName On
RPAF_SetHTTPS On
RPAF_SetPort On
</IfModule>

and if i locate rpaf on my vhost i get this :
/etc/httpd/conf.d/mod_rpaf.conf
/root/parallels/PSA_11.0.9/dist-rpm-CentOS-5-x86_64/base/psa-mod_rpaf-0.6-12021310.x86_64.rpm
/usr/lib64/httpd/modules/mod_rpaf.so

To fix the bug i delete mod_rpaf.conf and rpaf.conf, but it's not a good solution. I think Plesk and mod_rpaf maybe doesn't load the good extension or maybe there are problem with RPAFproxy_ips and RPAF_ProxyIPs
 
Back
Top