The following reply was made to PR general/2556; it has been noted by GNATS.
From: Chris Adams <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED]
Subject: Re: general/2556: RewriteRule generates redirect (code 301) but code
200 is logged
Date: Tue, 7 Jul 1998 10:52:35 -0500 (CDT)
Once upon a time, [EMAIL PROTECTED] wrote
> Synopsis: RewriteRule generates redirect (code 301) but code 200 is logged
>
> State-Changed-From-To: open-closed
> State-Changed-By: lars
> State-Changed-When: Mon Jul 6 16:09:56 PDT 1998
> State-Changed-Why:
>
> Are you using a LogFormat/CustomLog directive?
> If yes you are probably using "%s" to reference the
> status code, but this means that always the status of
> the initial request (e.g. 200) is logged and not the
> redirect status. To get the 'latest' status you have to
> use "%>s" instead.
>
> See http://docs.apache.org/mod/mod_log_config.html#formats
> for details.
>
> Class-Changed-From-To: sw-bug-mistaken
> Class-Changed-By: lars
> Class-Changed-When: Mon Jul 6 16:09:56 PDT 1998
Okay, you hit the nail on the head. I read (several times even!) the
docs for mod_rewrite and couldn't find any clues. Maybe a comment in
mod_rewrite about this would be good?
Thanks!
--
Chris Adams - [EMAIL PROTECTED]
System Administrator - Renaissance Internet Services
I don't speak for anybody but myself - that's enough trouble.