Sunday, March 25, 2007

HTTP_X_FORWARDED_FOR the real variable name in the http header

The HTTP_X_FORWARDED_FOR http header name is 'X-Forwarded-For', so we should use
<%=request.getHeader("X-Forwarded-For")%> to get the real i want.

Saturday, March 17, 2007

Python or Ruby

Everything is about the web development for the rapid speed.
So the FastCGI is revived by the Ruby Rails. I still prefer the Python and the plenty of function library. I tried the django and TurboGear, but the TurboGear 1.0.1 can not work with the Python 2.5 now. The django can work with the new version.