log format combined set to COMBINED_LOG token in (TEMPLATES)

Version 1.48.0


New global token: APACHELOGDIR=/var/log/httpd/domains as set by the apcahelogdir setting in the directadmin.conf. Changes in: virtual_host2.conf virtual_host2_secure.conf virtual_host2_sub.conf virtual_host2_secure_sub.conf added to top section: |?COMBINED_LOG=combined| and change the format from: CustomLog /var/log/httpd/domains/|DOMAIN|.log combined to: CustomLog |APACHELOGDIR|/|DOMAIN|.log |COMBINED_LOG| Purpose for the COMBINED_LOG token is so you can do things like: SetEnvIf Request_URI "^/favicon.ico" dontlog |?COMBINED_LOG=combined env=!dontlog| In the |CUSTOM| token in Custom Httpd Config, to prevent logging of things you really don't need to be logging.

Interested to try DirectAdmin? Get a 30-day Free Trial!