Skip to content

Commit 245392a

Browse files
author
Till Brehm
committed
Merge branch 'dontlog' into 'master'
fixes dontlog vulnerability this fixes #4585 See merge request !559
2 parents a7e368e + 0415e6a commit 245392a

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

install/tpl/apache_ispconfig.conf.master

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,8 @@ ServerSignature Off
1010
# ISPConfig Logfile configuration for vlogger
1111
################################################
1212

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

1816
<Directory /var/www/clients>
1917
AllowOverride None

server/conf/apache_ispconfig.conf.master

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,8 @@ ServerSignature Off
1010
# ISPConfig Logfile configuration for vlogger
1111
################################################
1212

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

1816
<Directory /var/www/clients>
1917
AllowOverride None

0 commit comments

Comments
 (0)