Sathish Sundaram
2009-Jan-09 09:47 UTC
[Mongrel] Cannot get HTTP HEADERS in Mongrel Handler with Nginx
Hi, I am reposting this question because I think that I may have not been clear with the earlier question I am using nginx as a reverse proxy sending the requests to mongrel_handler This handler is not able to receive any HTTP HEADER variables Here is a dump ---- HTTP_VIA nil HTTP_ACCEPT_ENCODING nil HTTP_USER_AGENT nil SCRIPT_NAME nil SERVER_PROTOCOL nil HTTP_CACHE_CONTROL nil HTTP_ACCEPT_LANGUAGE nil HTTP_HOST nil REMOTE_ADDR nil SERVER_SOFTWARE nil REQUEST_PATH nil HTTP_COOKIE nil HTTP_ACCEPT_CHARSET nil HTTP_VERSION nil REQUEST_URI nil SERVER_PORT nil GATEWAY_INTERFACE nil QUERY_STRING nil HTTP_ACCEPT nil HTTP_X_FORWARDED_FOR nil HTTP_CONNECTION nil HTTP_X_REAL_IP nil REQUEST_METHOD nil ---- My nginx config is fine, my access log is dumping those variables and a rails application is able to receive them whereas mongrel_handler cannot Can someone suggest what is the issue?. Thanks in advance -- -- Posted via http://www.ruby-forum.com/.