On 11/11/2011 11:53 AM, Robin Sinclair wrote:
Update - I just found an old post from 2005 in the mailing list archive which looks outlines a way to do this by modifying http.c : would this still be the recommended way to add a custom header ?just add a line to http.c such as: /* put additional client IP header */ BIO_printf(be,"X-Forwarded-For: %s\r\n", inet_ntoa(from_host)); + BIO_printf(be,"REAL_REMOTE_ADDR: %s\r\n", inet_ntoa(from_host));
To my knowledge, yes, a custom patch is still required. It probably wouldn't be too hard to add a config option for this particular case. Give it a try and talk to Robert and see if there's any interest in having it merged.
Regards, -- Dave Steinberg http://www.geekisp.com/ http://www.steinbergcomputing.com/ http://www.redterror.net/ -- To unsubscribe send an email with subject unsubscribe to [email protected]. Please contact [email protected] for questions.
