diff --git a/HowtoApache.md b/HowtoApache.md index bd4fef37..0437c7c3 100644 --- a/HowtoApache.md +++ b/HowtoApache.md @@ -393,7 +393,8 @@ RemoteIPInternalProxy 172.31.0.0/16 Attention au niveau des logs cela ne suffit pas. L'astuce est de modifier le `LogFormat`, en remplaçant `%h` par `%a`. ~~~ -cat /etc/apache2/conf-available/zzz-evolinux-custom.con +# cat /etc/apache2/conf-available/zzz-evolinux-custom.conf + LogFormat "%v:%p %a %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined LogFormat "%a %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%a %l %u %t \"%r\" %>s %O" common