0

I'm trying to use https://github.com/Zarel/Pokemon-Showdown. I have it working as far as it opens using a subdomain created using this .conf file:

<VirtualHost *:80>
ServerName sd.example.com
ProxyPass "/" localip
ProxyPassReverse "/" localip
</VirtualHost>

It opens and such, but the application uses user ip's. But everyone's IP is 127.0.0.1. is there a way to fix this in the virtualhost?

Capsule
  • 6,118
  • 1
  • 20
  • 27
  • Possible duplicate of [apache ProxyPass: how to preserve original IP address](https://stackoverflow.com/questions/760283/apache-proxypass-how-to-preserve-original-ip-address) – Capsule Jul 21 '17 at 04:11
  • Not actually a duplicate but provides ways to get the original client IP – Capsule Jul 21 '17 at 04:11
  • I've tried following the solutions there but I can't seem to get it to work? after trying them the application still sees my ip as 127.0.0.1 – james guess Jul 21 '17 at 15:58

0 Answers0