How do i get the request body ?

2014-01-01 Thread humank
Hello guys, I'm developing a nginx module, the intent is to get the request body, then write some response depends on what request body is. I've called the method ngx_http_read_client_request_body (r, ngx_http_myModule_handler); Since this code, i want to get the real requ

Re: How do I disable DNS Caching and DNS Reverse Lookup in Nginx ?

2014-01-01 Thread Maxim Dounin
Hello! On Wed, Jan 01, 2014 at 10:54:13AM -0500, linuxr00lz2013 wrote: > Hello Happy New year and thank you for the reply! > > I dont think thats the cause, because I tried clearing the cache and it was > still stlow! Is there a special directive that I have to use to get it to > stop caching?

Rewriteing awstats to base path

2014-01-01 Thread Moritz Herrmann
Hi, I like to beautify my urls used for awstats. Currently I have to use the following path for awstats /cgi-bin/awstats.pl?config=www.example.com that works as expected. For easier handling for our users I like to shorten the url to /www.example.com I tried a simple rewrite like rewrite ^/w

Re: How do I disable DNS Caching and DNS Reverse Lookup in Nginx ?

2014-01-01 Thread linuxr00lz2013
Hello Happy New year and thank you for the reply! I dont think thats the cause, because I tried clearing the cache and it was still stlow! Is there a special directive that I have to use to get it to stop caching? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,245904,245945#msg-245945