Page 1 of 1

prb Ip visitor

Posted: Thu Jan 22, 2015 6:48 pm
by sabri20
hi

i have vestacp in my vps
and my prb , any visitor have ip serveur (ip vps)!

plz help me

my site : http://www.tunisia-satellite.com/vb/

vesta
paquet de base
Version: 0.9.8 (amd64)
Release: 12

Re: prb Ip visitor

Posted: Fri Jan 23, 2015 7:05 am
by imperio
Hello,
What OS on your server ?

Re: prb Ip visitor

Posted: Sun Jan 25, 2015 4:33 pm
by sabri20
his ubuntu 14
vps from ovh

Re: prb Ip visitor

Posted: Sun Jan 25, 2015 6:43 pm
by imperio
/etc/apache2/mods-available/rpaf.conf

Code: Select all

<IfModule rpaf_module>
    RPAFenable On

    # When enabled, take the incoming X-Host header and
    # update the virtualhost settings accordingly:
    RPAFsethostname On

    # Define which IP's are your frontend proxies that sends
    # the correct X-Forwarded-For headers:
    RPAFproxy_ips 127.0.0.1 you_server_ip

    # Change the header name to parse from the default
    # X-Forwarded-For to something of your choice:
#   RPAFheader X-Real-IP
</IfModule>

Code: Select all

RPAFproxy_ips 127.0.0.1 you_server_ip

Code: Select all

service apache2 restart

Re: prb Ip visitor

Posted: Mon Jan 26, 2015 11:31 am
by sabri20
thank ui

but nothing has changed
http://www.imagesup.net/dm-114222718630.png

Re: prb Ip visitor

Posted: Mon Jan 26, 2015 11:53 pm
by dsystem
Had the same problem and haven't been able to solve with the rpaf

see this topic viewtopic.php?f=10&t=6650

Re: prb Ip visitor

Posted: Wed Jan 28, 2015 8:36 pm
by sabri20
dsystem wrote:Had the same problem and haven't been able to solve with the rpaf

see this topic viewtopic.php?f=10&t=6650

thank ui thank ui thank ui

prb resolu ;)