Project

General

Profile

Cannot get mod_extforward to work

Added by natethelen almost 14 years ago

I have lighttpd 1.4.26

I have enabled the module and put in the following config:

extforward.headers = ("HTTP_X_THE_CLIENT_IP")
extforward.forwarder = ("all" => "trust") #temporary until I get it working

I have put the module at the bottom and the top of the list. I have checked the CGI vars to make sure HTTP_X_THE_CLIENT_IP is there, it is. The .so is in the correct directory and I do not get warnings for unknown config values so I am pretty sure the module is loading

No matter what I do I cannot get REMOTE_ADDR to not be the Load Balancer IP. Also, the access logs are still showing the LB IP, also (putting mod_extforward after mod_accesslog as directed). I am not seeing errors anywhere.

Thoughts on how to debug or how to get it to work?

Nate