@@ -3,7 +3,8 @@
DocumentRoot /var/www/mediawiki
ErrorLog logs/error.log
- CustomLog logs/access.log "%v %h %l %u %t \"%r\" %>s %b"
+ LogFormat "%h %l %u %t \"%r\" %>s %b" common
+ CustomLog logs/access.log common
</VirtualHost>
@@ -22,7 +22,7 @@
Header always set Strict-Transport-Security "max-age=63072000; includeSibdomains;"
- ErrorLog logs/phpinfo-error.log
- CustomLog logs/phpinfo-access.log "%v %h %l %u %t \"%r\" %>s %b"
</VirtualHost *:443>
@@ -2,8 +2,8 @@
ServerName localhost
DocumentRoot /var/www/html
- ErrorLog logs/error.log