mirror of
https://github.com/maciejpedzich/maciejpedzi.ch.git
synced 2024-11-10 00:13:02 +01:00
Add LogFormat module to the httpd config
This commit is contained in:
parent
b88f219936
commit
ba3290fbbd
@ -1,7 +1,11 @@
|
|||||||
|
|
||||||
|
LoadModule config_log_module modules/mod_log_config.so
|
||||||
LoadModule mpm_event_module modules/mod_mpm_event.so
|
LoadModule mpm_event_module modules/mod_mpm_event.so
|
||||||
#LoadModule mpm_prefork_module modules/mod_mpm_prefork.so
|
#LoadModule mpm_prefork_module modules/mod_mpm_prefork.so
|
||||||
#LoadModule mpm_worker_module modules/mod_mpm_worker.so
|
#LoadModule mpm_worker_module modules/mod_mpm_worker.so
|
||||||
|
|
||||||
|
AddModule mod_log_config.c
|
||||||
|
|
||||||
# Fields to record - use X-Forward-For instead of client IP so that we get the actual clients IP
|
# 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
|
LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" mycustom
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user