Skip to main content
  1. Posts/

Make Apache logs mimic IIS

··31 words·1 min·

To make Apache write logs similar to IIS, toss this into your Apache configuration:

LogFormat "%{%Y-%m-%d %H:%M:%S}t %h %u %m %U %q %>s %b %T %H %{Host}i %{User-Agent}i %{Cookie}i %{Referer}i" iis