1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Impossible to reconfigure httpdmng - Error with mod_rpaf

Discussion in 'Plesk 11.x for Linux' started by jeanpaul, Nov 19, 2012.

  1. jeanpaul

    jeanpaul Basic Pleskian

    Jan 7, 2011
    Likes Received:
    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 xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx

    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


    LoadModule rpaf_module modules/mod_rpaf.so

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

    For mod_rpaf.conf

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

    and if i locate rpaf on my vhost i get this :

    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