On Monday, December 12, 2005 1:03 PM [EDT],
Alex Polvi <[EMAIL PROTECTED]> wrote:

> 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?

Use the Redirection Report. That's what it's for.

This question was addressed only last thursday by the Author of Analog.
Please read the archives linked to in the footer of every message posted to
this list.

Aeng

+------------------------------------------------------------------------
|  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