mirror of
https://github.com/maciejpedzich/maciejpedzi.ch.git
synced 2024-09-19 17:56:20 +02:00
7 lines
309 B
Plaintext
7 lines
309 B
Plaintext
|
# Fields to record - use X-Forward-For instead of client IP so that we get the actual clients IP
|
||
|
LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" mycustom
|
||
|
|
||
|
# Log locations
|
||
|
CustomLog "/var/log/httpd/access.log" mycustom env=!dontlog
|
||
|
ErrorLog "/var/log/httpd/error.log"
|