Logging Redirect Location in Apache

Posted by matthew on Server Fault See other posts from Server Fault or by matthew
Published on 2010-06-16T14:41:13Z Indexed on 2010/06/16 14:43 UTC
Read the original article Hit count: 286

Filed under:
|

Using the standard "Combined" log format, when Apache returns a 301 response it logs it in the access log, which is good, but it only logs the response code. It doesn't log the location to which the client is being directed. What argument do I need to add to the CustomLog format in order to get it to log this information? It wasn't obvious to me from the documentation.

© Server Fault or respective owner

Related posts about apache

Related posts about log-files