Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

prb Ip visitor

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
7 posts • Page 1 of 1
sabri20
Posts: 4
Joined: Thu Jan 22, 2015 6:44 pm

prb Ip visitor
  • Quote

Post by sabri20 » Thu Jan 22, 2015 6:48 pm

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
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: prb Ip visitor
  • Quote

Post by imperio » Fri Jan 23, 2015 7:05 am

Hello,
What OS on your server ?
Top

sabri20
Posts: 4
Joined: Thu Jan 22, 2015 6:44 pm

Re: prb Ip visitor
  • Quote

Post by sabri20 » Sun Jan 25, 2015 4:33 pm

his ubuntu 14
vps from ovh
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: prb Ip visitor
  • Quote

Post by imperio » Sun Jan 25, 2015 6:43 pm

/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
Top

sabri20
Posts: 4
Joined: Thu Jan 22, 2015 6:44 pm

Re: prb Ip visitor
  • Quote

Post by sabri20 » Mon Jan 26, 2015 11:31 am

thank ui

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

dsystem
Posts: 55
Joined: Sun Nov 30, 2014 12:27 am

Os: CentOS 6x
Web: nginx + php-fpm
Re: prb Ip visitor
  • Quote

Post by dsystem » Mon Jan 26, 2015 11:53 pm

Had the same problem and haven't been able to solve with the rpaf

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

sabri20
Posts: 4
Joined: Thu Jan 22, 2015 6:44 pm

Re: prb Ip visitor
  • Quote

Post by sabri20 » Wed Jan 28, 2015 8:36 pm

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 ;)
Top


Post Reply
  • Print view

7 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password