Remote.apache-vhost.template Maven / Gradle / Ivy
##############################################################################
# {SERVER_NAME}
##############################################################################
ServerName {SERVER_NAME}:80
AddType text/html .shtml
AddHandler server-parsed .shtml
ServerAdmin {SERVER_ADMIN}
DocumentRoot "{DOCUMENT_ROOT}"
Options +FollowSymLinks
Options +Includes
AllowOverride All
Order allow,deny
Allow from all
DirectoryIndex index.html index.htm index.php
# ErrorLog "|/usr/bin/cronolog {LOGS_DIR}/error.log.%Y-%m-%d"
# CustomLog "|/usr/bin/cronolog {LOGS_DIR}/access.log.%Y-%m-%d" combined
ErrorLog "|/usr/bin/cronolog --symlink={LOGS_DIR}/error.log {LOGS_DIR}/%Y/error.log.%W"
CustomLog "|/usr/bin/cronolog --symlink={LOGS_DIR}/access.log {LOGS_DIR}/%Y/access.log.%W" combined