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

    18
     
    Joined:
    Jan 7, 2011
    Messages:
    38
    Likes Received:
    3
    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
     
Loading...