We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Apache config. Where to make changes for log exclusions
Apache config. Where to make changes for log exclusions
Hi,
There are many places to make changes to apache config:
I'd like to exclude certain files from the error log. The apache syntax for this is
Where would be the best place to make this change if I wanted it to be across all sites (serverwide)?
Where would be the best place to make this change if I wanted it to be for one site only?
There are many places to make changes to apache config:
Code: Select all
/etc/apache/apache2.conf
/etc/apache/conf.d/*
/usr/local/vesta/data/templates/web/apache2/*.tpl
/home/user/conf/web/apache2.conf
/home/user/conf/web/sapache2.conf
/home/user/conf/web/apache2_domainname_.conf_extra
Code: Select all
# Mark requests for the favicon
SetEnvIf Request_URI "^/favicon\.ico$" dontlog
# Log what remains
CustomLog logs/access_log common env=!dontlog
Where would be the best place to make this change if I wanted it to be for one site only?