diff --git a/lang/en/docs/install.html b/lang/en/docs/install.html index 2812e7cfcdb..0fe6922bfda 100644 --- a/lang/en/docs/install.html +++ b/lang/en/docs/install.html @@ -209,6 +209,15 @@ php_value post_max_size 2M
cp lib/htaccess .htaccess+
+(Optional) To include the username of the current user in the Apache access log, add the following into your httpd.conf:
++++LogFormat "%h %l %{MOODLEUSER}n %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" moodle +CustomLog "/your/path/to/log" moodle+And then replace the "/your/path/to/log" to your http access log or to a new one. If your Moodle copy runs in a virtual host, add the lines in the corresponding
+block. Please refer to the Apache documentation for more information.