1ServerName localhost 2ServerRoot "${server_dir}" 3 4Include "conf/modules.conf" 5 6DocumentRoot "${server_dir}/htdocs" 7 8<IfModule log_config_module> 9 LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\" %k" combined 10 LogFormat "%h %l %u %t \"%r\" %>s %b" common 11 CustomLog "logs/access_log" combined 12 13</IfModule> 14 15TypesConfig "${gen_dir}/apache/conf/mime.types" 16 17Listen ${http_port} 18Listen ${https_port} 19 20<IfModule mod_ssl.c> 21 # provide some default 22 SSLSessionCache "shmcb:ssl_gcache_data(32000)" 23</IfModule> 24 25# Insert our test specific configuration before the first vhost, 26# so that its vhosts can be the default one. This is relevant in 27# certain behaviours, such as protocol selection during SSL ALPN 28# negotiation. 29# 30Include "conf/test.conf" 31 32RequestReadTimeout header=10 body=10 33 34<IfModule deflate_module> 35 AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css 36</IfModule> 37<IfModule brotli_module> 38 AddOutputFilterByType BROTLI_COMPRESS text/html text/plain text/xml text/css 39</IfModule> 40 41<VirtualHost *:${http_port}> 42 ServerName ${http_tld} 43 ServerAlias www.${http_tld} 44 <IfModule ssl_module> 45 SSLEngine off 46 </IfModule> 47 DocumentRoot "${server_dir}/htdocs" 48</VirtualHost> 49 50<Directory "${server_dir}/htdocs/cgi"> 51 Options Indexes FollowSymLinks 52 AllowOverride None 53 Require all granted 54 55 AddHandler cgi-script .py 56 AddHandler cgi-script .cgi 57 Options +ExecCGI 58</Directory> 59 60 61