Hello-

I want to be able to count requests with status code 301 and 302 as
successes, so that they appear in the Request Report.  

The FAQ says, "No, you really don't, because that would lead to double
counting when a request for /dir (code 301) is redirected to /dir/ (code
200). For CGI scripts etc. look in the Redirection Report instead of the
Request Report."

However, I _do_ want them because I only redirect to other websites
outside of my infrastructure.

My current solution is to use sed to s/302/200/ in the logs... but is
there a more elegant way?

Thanks,

-Alex

-- 
Alex Polvi :: polvi at mozilla com :: sysadmin 
+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.meer.net/mailman/listinfo/analog-help
|
|  Analog Documentation: http://analog.cx/docs/Readme.html
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+------------------------------------------------------------------------

Reply via email to