refcodes-batch.0.3.0.source-code.apache-vhost-ssl.template Maven / Gradle / Ivy
##############################################################################
# {SERVER_NAME}
##############################################################################
SSLEngine on
ServerName {SERVER_NAME}:443
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