• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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