Apache Error
При запуске apache вылезает ошибка
1 2 | Syntax error on line 33 of /usr/local/etc/apache22/extra/httpd-vhosts.conf CustomLog take two or three arguments, a filename, a custom log format string on format name, and an optional "env=" clause |
Ошибка синтаксиса
Лечится так:
Вместо
1 | CustomLog "var/log/ex.com-access_log common" |
Пишем
1 | CustomLog "var/log/ex.com-access_log" common |