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.

Reply via email to