mod_proxy module + PHP = Logging issues

Discussion in 'Apache' started by hunterhdolan, Jul 19, 2010.

  1. #1
    Hello again guys! I am the owner of a Support Forum for an Open Source WebMail client. My server is setup in a FreeBSD 8.0 Jail (Kind of like a vm) we use the mod_proxy module to pass the users requests from the Main Apache server to the my jail. The problem is my forum software (IP.Board 3.1) uses php to log the users IP address. We have it setup so if a user with the same IP gets banned 3 different times his/her IP address is banned. But when php logs the ip address it shows up as 10.0.0.30 which is the servers local ip address. Does anyone know of a way to have the Mod_Proxy module pass on the users ip address instead of passing on the local ip. Thanks!

    -HD
     
    hunterhdolan, Jul 19, 2010 IP