Skip to content

Commit 68c4830

Browse files
author
Florian Schaal
committed
hide GET /datalogstatus.php in apache access-logs (does not affect other_vhosts_access.log)
1 parent 39df223 commit 68c4830

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

install/tpl/apache_ispconfig.conf.master

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
# ISPConfig Logfile configuration for vlogger
44
################################################
55

6+
SetEnvIf Request_URI "^/datalogstatus.php$" dontlog
7+
68
LogFormat "%v %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined_ispconfig
7-
CustomLog "| /usr/local/ispconfig/server/scripts/vlogger -s access.log -t \"%Y%m%d-access.log\" /var/log/ispconfig/httpd" combined_ispconfig
9+
CustomLog "| /usr/local/ispconfig/server/scripts/vlogger -s access.log -t \"%Y%m%d-access.log\" /var/log/ispconfig/httpd" combined_ispconfig env=!dontlog
810

911
<Directory /var/www/clients>
1012
AllowOverride None

0 commit comments

Comments
 (0)