File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,11 @@ SSLStaplingCache shmcb:/var/run/ocsp(128000)
1414# ISPConfig Logfile configuration for vlogger
1515################################################
1616
17+ <tmpl_if name='apache_version' op='>=' value='2.5' format='version'>
18+ LogFormat '%v %h %l %u %t "%r" %>s %S "%{Referer}i" "%{User-Agent}i"' combined_ispconfig
19+ <tmpl_else>
1720LogFormat "%v %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined_ispconfig
21+ </tmpl_if>
1822CustomLog "| /usr/local/ispconfig/server/scripts/vlogger -s access.log -t \"%Y%m%d-access.log\" /var/log/ispconfig/httpd" combined_ispconfig
1923
2024<Directory /var/www/clients>
Original file line number Diff line number Diff line change @@ -14,7 +14,11 @@ SSLStaplingCache shmcb:/var/run/ocsp(128000)
1414# ISPConfig Logfile configuration for vlogger
1515################################################
1616
17+ <tmpl_if name='apache_version' op='>=' value='2.5' format='version'>
18+ LogFormat '%v %h %l %u %t "%r" %>s %S "%{Referer}i" "%{User-Agent}i"' combined_ispconfig
19+ <tmpl_else>
1720LogFormat "%v %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined_ispconfig
21+ </tmpl_if>
1822CustomLog "| /usr/local/ispconfig/server/scripts/vlogger -s access.log -t \"%Y%m%d-access.log\" /var/log/ispconfig/httpd" combined_ispconfig
1923
2024<Directory /var/www/clients>
You can’t perform that action at this time.
0 commit comments