Define SRVROOT "{{SRVROOT}}"
Listen {{LISTEN_ADDRESS}}:{{PORT}}
LoadModule authz_core_module modules/mod_authz_core.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule dir_module modules/mod_dir.so
LoadModule mime_module modules/mod_mime.so
LoadModule alias_module modules/mod_alias.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so
ServerAdmin admin@localhost
ServerName localhost:{{PORT}}
DocumentRoot "{{ROOT}}"
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
ErrorLog "{{LOG_DIR}}/apache_error.log"
LogLevel warn
LogFormat "%h %l %u %t \"%r\" %>s %b" common
CustomLog "{{LOG_DIR}}/apache_access.log" common
DirectoryIndex index.php index.html index.htm
Require all denied
# phpMyAdmin configuration
Alias /phpmyadmin "{{PHPMYADMIN_DIR}}"
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
SetHandler "proxy:fcgi://127.0.0.1:{{PHP_PORT}}/"
# Global PHP handler
SetHandler "proxy:fcgi://127.0.0.1:{{PHP_PORT}}/"
# Project configurations
{{PROJECTS}}