by jeffreynolds » Mon Apr 16, 2007 4:44 am
The second set of code you provided, that works for logging the rewritten URIs, creates double log entries for each of the CustomLog statements. So I left out the one that simply logged the URI that was not rewritten, since Apache logs that one already.
Now, in my access_log, I see URIs that aren't rewritten (as I normally have) and then I see URIs that are rewritten, just below the original URI. So, so that is two log entries for the same request. We're getting over 700,000 unique visits a day, so I want to try to avoid dupes as much as possible.
What I need now is a way to suppress the log entry for the URI that does get rewritten to access_log.
This latest set of code doesn't seem to address that.
Or, I could use your code as is, but I need to turn off Apache's standard logging to access_log.
Thanks again for your assistance.
- Jeff