HTTP_VIA & HTTP_X_FORWARDED_FOR
"A." <[email protected]> Mon, 8 Sep 2003 23:13:26 +0300
| Newsgroups | gmane.network.mathopd |
|---|---|
| Organization | ngi |
| Message-ID | <[email protected]> |
Hello, I am creating some kind of web statistics system, and I needed to read Via and X-Forwarded-For request fields from my CGI. Unlike some others web-servers, mathopd does not provide these fields to CGI environment, so I've made a simple (or maybe 'the simplest') patch, which fixes it. In case somebody needs to access that fields too, here is my patch for mathopd 1.4p1 : http://lamer.albedo.com.ua/http_proxy.diff.txt.gz (632 bytes) Maybe it is not very bad idea to include it in the next mathopd release. -- Best regards, A. mailto:[email protected]