OVH Community, votre nouvel espace communautaire.

CDN et Apache rpaf


omexlu
26/05/2015, 19h32
Citation Envoyé par Niloo
Quelle est ton architecture ? CDN=>Apache ou autre ?
Quelle adresse IP obtiens-tu dans les logs ?
Salu,

- CDN=>Apache
- J'obtiens les IP du CDN

J'utilise plesk 12 , peut etre plesk a une configuration quelle que part?

EDIT: Problem resolu avec mod_cloudflare..

Niloo
26/05/2015, 19h24
Quelle est ton architecture ? CDN=>Apache ou autre ?
Quelle adresse IP obtiens-tu dans les logs ?

omexlu
26/05/2015, 19h16
Bonjour,


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 46.105.0.0/16

# Change the header name to parse from the default
# X-Forwarded-For to something of your choice:
RPAFheader X-Remote-Ip
a2enmod rpaf
service apache2 restart
Mais ca ne montre pas la real-ip ?

guidtz
26/06/2014, 17h00
Good ! Comme on dis dans le métier "It's works !"

Niloo
26/06/2014, 16h42
Essai avec :
Code:
RPAFproxy_ips  46.105.0.0/16
RPAFheader X-Remote-Ip

guidtz
26/06/2014, 15h58
Bonjour,

j'ai beau essaye plusieurs combinaisons mais j'arrive pas à remonter l'IP réelle des visiteurs sur un serveur Apache avec mod_rpaf derrière un CDN. Ma conf actuelle est comme ceci :

Code:

    RPAFenable On

    RPAFsethostname On

    RPAFproxy_ips  46.105.196.
    RPAFheader X-Forwarded-For

Est-ce l'en-tête qui est pas bonne ?

Thanks