# ----------------------------
# Language
# ----------------------------
#DefaultLanguage nl
AddLanguage ca .ca
AddLanguage cs .cz .cs
AddLanguage da .dk
AddLanguage de .de
AddLanguage el .el
AddLanguage en .en
AddLanguage eo .eo
AddLanguage es .es
AddLanguage et .et
AddLanguage fr .fr
AddLanguage he .he
AddLanguage hr .hr
AddLanguage it .it
AddLanguage ja .ja
AddLanguage ko .ko
AddLanguage ltz .ltz
AddLanguage nl .nl
AddLanguage nn .nn
AddLanguage no .no
AddLanguage pl .po
AddLanguage pt .pt
AddLanguage pt-BR .pt-br
AddLanguage ru .ru
AddLanguage sv .sv
AddLanguage tr .tr
AddLanguage zh-CN .zh-cn
AddLanguage zh-TW .zh-tw
LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru sv tr zh-CN zh-TW
ForceLanguagePriority Prefer Fallback
AddCharset us-ascii .ascii .us-ascii
AddCharset ISO-8859-1 .iso8859-1 .latin1
AddCharset ISO-8859-2 .iso8859-2 .latin2 .cen
AddCharset ISO-8859-3 .iso8859-3 .latin3
AddCharset ISO-8859-4 .iso8859-4 .latin4
AddCharset ISO-8859-5 .iso8859-5 .cyr .iso-ru
AddCharset ISO-8859-6 .iso8859-6 .arb .arabic
AddCharset ISO-8859-7 .iso8859-7 .grk .greek
AddCharset ISO-8859-8 .iso8859-8 .heb .hebrew
AddCharset ISO-8859-9 .iso8859-9 .latin5 .trk
AddCharset ISO-8859-10 .iso8859-10 .latin6
AddCharset ISO-8859-13 .iso8859-13
AddCharset ISO-8859-14 .iso8859-14 .latin8
AddCharset ISO-8859-15 .iso8859-15 .latin9
AddCharset ISO-8859-16 .iso8859-16 .latin10
AddCharset ISO-2022-JP .iso2022-jp .jis
AddCharset ISO-2022-KR .iso2022-kr .kis
AddCharset ISO-2022-CN .iso2022-cn .cis
AddCharset Big5 .Big5 .big5 .b5
AddCharset cn-Big5 .cn-big5
AddCharset WINDOWS-1251 .cp-1251 .win-1251
AddCharset CP866 .cp866
AddCharset KOI8 .koi8
AddCharset KOI8-E .koi8-e
AddCharset KOI8-r .koi8-r .koi8-ru
AddCharset KOI8-U .koi8-u
AddCharset KOI8-ru .koi8-uk .ua
AddCharset ISO-10646-UCS-2 .ucs2
AddCharset ISO-10646-UCS-4 .ucs4
AddCharset UTF-7 .utf7
AddCharset UTF-8 .utf8
AddCharset UTF-16 .utf16
AddCharset UTF-16BE .utf16be
AddCharset UTF-16LE .utf16le
AddCharset UTF-32 .utf32
AddCharset UTF-32BE .utf32be
AddCharset UTF-32LE .utf32le
AddCharset euc-cn .euc-cn
AddCharset euc-gb .euc-gb
AddCharset euc-jp .euc-jp
AddCharset euc-kr .euc-kr
AddCharset EUC-TW .euc-tw
AddCharset gb2312 .gb2312 .gb
AddCharset iso-10646-ucs-2 .ucs-2 .iso-10646-ucs-2
AddCharset iso-10646-ucs-4 .ucs-4 .iso-10646-ucs-4
AddCharset shift_jis .shift_jis .sjis
# ----------------------------
# SSL
# ----------------------------
<IfModule ssl_module>
SSLCipherSuite ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384
SSLHonorCipherOrder Off
Mutex default
SSLProtocol ALL -SSLv3 -TLSv1 -TLSv1.1
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
SSLSessionCache "shmcb:%sprogdir%/userdata/temp/ssl_scache(524288)"
SSLSessionCacheTimeout 86400
SSLSessionTickets Off
SSLStrictSNIVHostCheck Off
SSLUseStapling Off
SSLStaplingCache "shmcb:%sprogdir%/userdata/temp/ssl_stapling(65536)"
</IfModule>
# ----------------------------
# WebDav
# Required modules: mod_alias, mod_auth_digest, mod_authn_core, mod_authn_file,
# mod_authz_core, mod_authz_user, mod_dav, mod_dav_fs, mod_setenvif
# ----------------------------
<IfModule dav_module>
DavLockDB "%sprogdir%/userdata/DavLock"
Alias /uploads "%sprogdir%/userdata/temp/upload"
<Directory "/uploads">
Dav On
AuthType Digest
AuthName DAV-upload
AuthUserFile "%sprogdir%/userdata/user.passwd"
AuthDigestProvider file
<RequireAny>
Require method GET POST OPTIONS
Require user admin
</RequireAny>
</Directory>
BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
BrowserMatch "MS FrontPage" redirect-carefully
BrowserMatch "^WebDrive" redirect-carefully
BrowserMatch "^WebDAVFS/1.[01234]" redirect-carefully
BrowserMatch "^gnome-vfs/1.0" redirect-carefully
BrowserMatch "^XML Spy" redirect-carefully
BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
BrowserMatch " Konqueror/4" redirect-carefully
</IfModule>
# ----------------------------
# Default host config
# ----------------------------
<VirtualHost *:%httpport%>
DocumentRoot "%sprogdir%/modules/system/html/default"
ServerName "default"
ServerAlias "default"
<Location /openserver/server-status>
SetHandler server-status
Require all denied
Require ip 127.0.0.0/8 ::1/128
Require ip %ips%
%allow%Require all granted
</Location>
<Location /openserver/server-info>
SetHandler server-info
Require all denied
Require ip 127.0.0.0/8 ::1/128
Require ip %ips%
%allow%Require all granted
</Location>
</VirtualHost>
<IfModule ssl_module>
<VirtualHost *:%httpsport%>
DocumentRoot "%sprogdir%/modules/system/html/default"
ServerName "default"
ServerAlias "default"
SSLEngine on
Protocols h2 http/1.1
#Header always set Strict-Transport-Security "max-age=94608000"
#SSLCACertificateFile ""
#SSLCertificateChainFile ""
SSLCertificateFile "%sprogdir%/userdata/config/cert_files/server.crt"
SSLCertificateKeyFile "%sprogdir%/userdata/config/cert_files/server.key"
SetEnvIf User-Agent ".*MSIE [6-9].*" ssl-unclean-shutdown
<FilesMatch "\.(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Location /openserver/server-status>
SetHandler server-status
Require all denied
Require ip 127.0.0.0/8 ::1/128
Require ip %ips%
%allow%Require all granted
</Location>
<Location /openserver/server-info>
SetHandler server-info
Require all denied
Require ip 127.0.0.0/8 ::1/128
Require ip %ips%
%allow%Require all granted
</Location>
</VirtualHost>
</IfModule>
PHPINIDir "%sprogdir%/modules/php/%phpdriver%"
LoadModule php_module "%sprogdir%/modules/php/%phpdriver%/php8apache2_4.dll"
<IfModule reqtimeout_module>
RequestReadTimeout header=20-40,MinRate=500 body=20,MinRate=500
</IfModule>
<IfModule remoteip_module>
RemoteIPHeader X-Real-IP
</IfModule>
<IfModule evasive2_module>
DOSEnabled true
DOSHashTableSize 3097
DOSPageCount 8
DOSSiteCount 64
DOSPageInterval 1
DOSSiteInterval 1
DOSBlockingPeriod 60
</IfModule>
# ----------------------------
# Directories
# ----------------------------
<Directory />
AllowOverride None
Options -MultiViews -Indexes -FollowSymLinks -IncludesNoExec -Includes -ExecCGI
Require all denied
</Directory>
<Directory "%ssitedir%/*">
AllowOverride All
# Options -FollowSymLinks +SymLinksIfOwnerMatch
Options -MultiViews +Indexes +FollowSymLinks +IncludesNoExec +Includes +ExecCGI
Require all granted
</Directory>
<Directory "%sprogdir%/modules/system/html/openserver">
AllowOverride None
Options -MultiViews -Indexes -FollowSymLinks -IncludesNoExec -Includes -ExecCGI
AddDefaultCharset Off
Require all denied
Require ip 127.0.0.0/8 ::1/128
Require ip %ips%
%allow%Require all granted
</Directory>
<Directory "%sprogdir%/modules/system/html/default">
AllowOverride None
Options -MultiViews -Indexes -FollowSymLinks -IncludesNoExec -Includes -ExecCGI
AddDefaultCharset Off
<IfModule dir_module>
DirectoryIndex index.html
</IfModule>
Require all granted
</Directory>
<IfModule alias_module>
Alias /openserver/ "%sprogdir%/modules/system/html/openserver/"
</IfModule>
<Directory "/cgi-bin">
AllowOverride None
Options +ExecCGI
Require all granted
</Directory>
<LocationMatch "/\.(?!well-known)">
Require all denied
</LocationMatch>
<Files ".ht*">
Require all denied
</Files>
<IfModule headers_module>
RequestHeader unset Proxy early
</IfModule>
# ----------------------------
# GeoIP2 (MaxmindDB)
# ----------------------------
<IfModule mod_maxminddb.c>
MaxMindDBEnable On
MaxMindDBFile COUNTRY_DB "%sprogdir%/userdata/config/GeoLite2-Country.mmdb"
MaxMindDBEnv COUNTRY_CODE COUNTRY_DB/country/iso_code
MaxMindDBEnv COUNTRY_NAME COUNTRY_DB/country/names/en
</IfModule>
# ----------------------------
# Logs
# ----------------------------
ErrorLog "%sprogdir%/userdata/logs/%httpdriver%_errora.log"
LogLevel warn
BufferedLogs Off
<IfModule log_config_module>
LogFormat "%v: %a %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%v: %a %t \"%r\" %>s %b" common
<IfModule logio_module>
LogFormat "%v: %a %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
</IfModule>
%log%CustomLog "%sprogdir%/userdata/logs/%httpdriver%_queriesa.log" combined
</IfModule>
<IfModule alias_module>
Alias /apacheerror/ "%sprogdir%/modules/http/%httpdriver%/error/"
</IfModule>
<Directory "%sprogdir%/modules/http/%httpdriver%/error">
AllowOverride None
Options IncludesNoExec
AddOutputFilter Includes html
AddHandler type-map var
Require all granted
LanguagePriority en cs de es fr it ja ko nl pl pt-br ro sv tr
ForceLanguagePriority Prefer Fallback
</Directory>
ErrorDocument 400 /apacheerror/HTTP_BAD_REQUEST.html.var
ErrorDocument 401 /apacheerror/HTTP_UNAUTHORIZED.html.var
ErrorDocument 403 /apacheerror/HTTP_FORBIDDEN.html.var
ErrorDocument 404 /apacheerror/HTTP_NOT_FOUND.html.var
ErrorDocument 405 /apacheerror/HTTP_METHOD_NOT_ALLOWED.html.var
ErrorDocument 408 /apacheerror/HTTP_REQUEST_TIME_OUT.html.var
ErrorDocument 410 /apacheerror/HTTP_GONE.html.var
ErrorDocument 411 /apacheerror/HTTP_LENGTH_REQUIRED.html.var
ErrorDocument 412 /apacheerror/HTTP_PRECONDITION_FAILED.html.var
ErrorDocument 413 /apacheerror/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
ErrorDocument 414 /apacheerror/HTTP_REQUEST_URI_TOO_LARGE.html.var
ErrorDocument 415 /apacheerror/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var
ErrorDocument 500 /apacheerror/HTTP_INTERNAL_SERVER_ERROR.html.var
ErrorDocument 501 /apacheerror/HTTP_NOT_IMPLEMENTED.html.var
ErrorDocument 502 /apacheerror/HTTP_BAD_GATEWAY.html.var
ErrorDocument 503 /apacheerror/HTTP_SERVICE_UNAVAILABLE.html.var
ErrorDocument 506 /apacheerror/HTTP_VARIANT_ALSO_VARIES.html.var
# ----------------------------
# MIME
# ----------------------------
<IfModule mime_module>
TypesConfig "%sprogdir%/userdata/config/apache_mime_types.txt"
#AddType application/x-gzip .tgz
#AddEncoding x-compress .Z
#AddEncoding x-gzip .gz .tgz
AddHandler cgi-script .cgi .pl
AddType application/x-httpd-php .php .php5 .phtml
AddOutputFilter INCLUDES .shtml
</IfModule>
<IfModule mime_magic_module>
MIMEMagicFile "%sprogdir%/modules/http/%httpdriver%/conf/magic"
</IfModule>
<IfModule dir_module>
DirectoryIndex index.php index.html index.htm index.pl
</IfModule>
<IfModule alias_module>
Alias /apacheicons/ "%sprogdir%/modules/http/%httpdriver%/icons/"
</IfModule>
<Directory "%sprogdir%/modules/http/%httpdriver%/icons">
Options +Indexes +MultiViews
AllowOverride None
Require all granted
</Directory>
AddIconByEncoding (CMP,/apacheicons/compressed.gif) x-compress x-gzip
AddIconByType (TXT,/apacheicons/text.gif) text/*
AddIconByType (IMG,/apacheicons/image2.gif) image/*
AddIconByType (SND,/apacheicons/sound2.gif) audio/*
AddIconByType (VID,/apacheicons/movie.gif) video/*
AddIcon /apacheicons/binary.gif .bin .exe
AddIcon /apacheicons/binhex.gif .hqx
AddIcon /apacheicons/tar.gif .tar
AddIcon /apacheicons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
AddIcon /apacheicons/compressed.gif .Z .z .tgz .gz .zip
AddIcon /apacheicons/a.gif .ps .ai .eps
AddIcon /apacheicons/layout.gif .html .shtml .htm .pdf
AddIcon /apacheicons/text.gif .txt
AddIcon /apacheicons/c.gif .c
AddIcon /apacheicons/p.gif .pl .py
AddIcon /apacheicons/f.gif .for
AddIcon /apacheicons/dvi.gif .dvi
AddIcon /apacheicons/uuencoded.gif .uu
AddIcon /apacheicons/script.gif .conf .sh .shar .csh .ksh .tcl
AddIcon /apacheicons/tex.gif .tex
AddIcon /apacheicons/bomb.gif core
AddIcon /apacheicons/back.gif ..
AddIcon /apacheicons/hand.right.gif README
AddIcon /apacheicons/folder.gif ^^DIRECTORY^^
AddIcon /apacheicons/blank.gif ^^BLANKICON^^
DefaultIcon /apacheicons/unknown.gif
#AddDescription "GZIP compressed document" .gz
#AddDescription "tar archive" .tar
#AddDescription "GZIP compressed tar archive" .tgz
ReadmeName README.html
HeaderName HEADER.html
IndexOptions FancyIndexing HTMLTable VersionSort
IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
# ----------------------------
# General
# ----------------------------
%httpcharset%
AcceptFilter http none
AcceptFilter https none
AccessFileName .htaccess
DocumentRoot "%ssitedir%/"
EnableMMAP Off
EnableSendfile Off
ExtendedStatus On
HostnameLookups Off
KeepAlive On
KeepAliveTimeout 120
Listen %ip%:%httpport%
Listen %ip%:%httpsport%
MaxConnectionsPerChild %maxrequests%
MaxKeepAliveRequests 1000
MaxMemFree 2048
#MaxRanges 1
PidFile "%sprogdir%/userdata/temp/httpd.pid"
ServerName %ips%
ServerRoot "%sprogdir%/modules/http/%httpdriver%"
ServerSignature Off
ServerTokens Prod
ThreadsPerChild 150
Timeout 60
UseCanonicalName Off
# ----------------------------
# Modules
# ----------------------------
LoadModule access_compat_module modules/mod_access_compat.so
LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule allowmethods_module modules/mod_allowmethods.so
LoadModule asis_module modules/mod_asis.so
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule auth_digest_module modules/mod_auth_digest.so
#LoadModule auth_form_module modules/mod_auth_form.so
#LoadModule authn_anon_module modules/mod_authn_anon.so
LoadModule authn_core_module modules/mod_authn_core.so
#LoadModule authn_dbd_module modules/mod_authn_dbd.so
#LoadModule authn_dbm_module modules/mod_authn_dbm.so
LoadModule authn_file_module modules/mod_authn_file.so
#LoadModule authn_socache_module modules/mod_authn_socache.so
#LoadModule authnz_fcgi_module modules/mod_authnz_fcgi.so
#LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
LoadModule authz_core_module modules/mod_authz_core.so
#LoadModule authz_dbd_module modules/mod_authz_dbd.so
#LoadModule authz_dbm_module modules/mod_authz_dbm.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_host_module modules/mod_authz_host.so
#LoadModule authz_owner_module modules/mod_authz_owner.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule autoindex_module modules/mod_autoindex.so
#LoadModule brotli_module modules/mod_brotli.so
#LoadModule buffer_module modules/mod_buffer.so
#LoadModule cache_module modules/mod_cache.so
#LoadModule cache_disk_module modules/mod_cache_disk.so
#LoadModule cache_socache_module modules/mod_cache_socache.so
#LoadModule cern_meta_module modules/mod_cern_meta.so
LoadModule cgi_module modules/mod_cgi.so
#LoadModule charset_lite_module modules/mod_charset_lite.so
#LoadModule data_module modules/mod_data.so
#LoadModule dav_module modules/mod_dav.so
#LoadModule dav_fs_module modules/mod_dav_fs.so
#LoadModule dav_lock_module modules/mod_dav_lock.so
#LoadModule dbd_module modules/mod_dbd.so
#LoadModule deflate_module modules/mod_deflate.so
LoadModule dir_module modules/mod_dir.so
#LoadModule dumpio_module modules/mod_dumpio.so
LoadModule env_module modules/mod_env.so
#LoadModule evasive2_module modules/mod_evasive.so
#LoadModule expires_module modules/mod_expires.so
#LoadModule ext_filter_module modules/mod_ext_filter.so
#LoadModule fcgid_module modules/mod_fcgid.so
#LoadModule file_cache_module modules/mod_file_cache.so
#LoadModule filter_module modules/mod_filter.so
LoadModule headers_module modules/mod_headers.so
#LoadModule heartbeat_module modules/mod_heartbeat.so
#LoadModule heartmonitor_module modules/mod_heartmonitor.so
LoadModule http2_module modules/mod_http2.so
#LoadModule ident_module modules/mod_ident.so
#LoadModule imagemap_module modules/mod_imagemap.so
LoadModule include_module modules/mod_include.so
#LoadModule info_module modules/mod_info.so
LoadModule isapi_module modules/mod_isapi.so
#LoadModule lbmethod_bybusyness_module modules/mod_lbmethod_bybusyness.so
#LoadModule lbmethod_byrequests_module modules/mod_lbmethod_byrequests.so
#LoadModule lbmethod_bytraffic_module modules/mod_lbmethod_bytraffic.so
#LoadModule lbmethod_heartbeat_module modules/mod_lbmethod_heartbeat.so
#LoadModule ldap_module modules/mod_ldap.so
LoadModule log_config_module modules/mod_log_config.so
#LoadModule log_debug_module modules/mod_log_debug.so
#LoadModule log_forensic_module modules/mod_log_forensic.so
#LoadModule logio_module modules/mod_logio.so
#LoadModule lua_module modules/mod_lua.so
#LoadModule macro_module modules/mod_macro.so
#LoadModule maxminddb_module modules/mod_maxminddb.so
#LoadModule md_module modules/mod_md.so
LoadModule mime_module modules/mod_mime.so
#LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule negotiation_module modules/mod_negotiation.so
#LoadModule proxy_module modules/mod_proxy.so
#LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
#LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
#LoadModule proxy_connect_module modules/mod_proxy_connect.so
#LoadModule proxy_express_module modules/mod_proxy_express.so
#LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so
#LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
#LoadModule proxy_hcheck_module modules/mod_proxy_hcheck.so
#LoadModule proxy_html_module modules/mod_proxy_html.so
#LoadModule proxy_http_module modules/mod_proxy_http.so
#LoadModule proxy_http2_module modules/mod_proxy_http2.so
#LoadModule proxy_scgi_module modules/mod_proxy_scgi.so
#LoadModule proxy_uwsgi_module modules/mod_proxy_uwsgi.so
#LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so
#LoadModule ratelimit_module modules/mod_ratelimit.so
#LoadModule reflector_module modules/mod_reflector.so
#LoadModule remoteip_module modules/mod_remoteip.so
LoadModule reqtimeout_module modules/mod_reqtimeout.so
#LoadModule request_module modules/mod_request.so
LoadModule rewrite_module modules/mod_rewrite.so
#LoadModule sed_module modules/mod_sed.so
#LoadModule session_module modules/mod_session.so
#LoadModule session_cookie_module modules/mod_session_cookie.so
#LoadModule session_crypto_module modules/mod_session_crypto.so
#LoadModule session_dbd_module modules/mod_session_dbd.so
LoadModule setenvif_module modules/mod_setenvif.so
#LoadModule slotmem_plain_module modules/mod_slotmem_plain.so
#LoadModule slotmem_shm_module modules/mod_slotmem_shm.so
#LoadModule socache_dbm_module modules/mod_socache_dbm.so
#LoadModule socache_memcache_module modules/mod_socache_memcache.so
#LoadModule socache_redis_module modules/mod_socache_redis.so
LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
#LoadModule speling_module modules/mod_speling.so
LoadModule ssl_module modules/mod_ssl.so
LoadModule status_module modules/mod_status.so
#LoadModule substitute_module modules/mod_substitute.so
#LoadModule unique_id_module modules/mod_unique_id.so
#LoadModule userdir_module modules/mod_userdir.so
#LoadModule usertrack_module modules/mod_usertrack.so
#LoadModule version_module modules/mod_version.so
#LoadModule vhost_alias_module modules/mod_vhost_alias.so
#LoadModule watchdog_module modules/mod_watchdog.so
#LoadModule xml2enc_module modules/mod_xml2enc.so
#LoadModule xsendfile_module modules/mod_xsendfile.so
<VirtualHost *:%httpport%>
DocumentRoot "%hostdir%"
ServerName "%host%"
ServerAlias "%host%" %aliases%
ScriptAlias /cgi-bin/ "%hostdir%/cgi-bin/"
</VirtualHost>
<IfModule ssl_module>
<VirtualHost *:%httpsport%>
DocumentRoot "%hostdir%"
ServerName "%host%"
ServerAlias "%host%" %aliases%
ScriptAlias /cgi-bin/ "%hostdir%/cgi-bin/"
SSLEngine on
Protocols h2 http/1.1
#Header always set Strict-Transport-Security "max-age=94608000"
Header always set Access-Control-Allow-Origin "*"
#SSLCACertificateFile ""
#SSLCertificateChainFile ""
SSLCertificateFile "%sprogdir%/userdata/config/cert_files/server.crt"
SSLCertificateKeyFile "%sprogdir%/userdata/config/cert_files/server.key"
SetEnvIf User-Agent ".*MSIE [6-9].*" ssl-unclean-shutdown
<FilesMatch "\.(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory "%hostdir%/cgi-bin/">
SSLOptions +StdEnvVars
</Directory>
</VirtualHost>
</IfModule>
<VirtualHost *:%httpport%>
DocumentRoot "%hostdir%"
ServerName "%host%"
ServerAlias "%host%" %aliases%
ScriptAlias /cgi-bin/ "%hostdir%/cgi-bin/"
</VirtualHost>
<IfModule ssl_module>
<VirtualHost *:%httpsport%>
DocumentRoot "%hostdir%"
ServerName "%host%"
ServerAlias "%host%" %aliases%
ScriptAlias /cgi-bin/ "%hostdir%/cgi-bin/"
SSLEngine on
Protocols h2 http/1.1
#Header always set Strict-Transport-Security "max-age=94608000"
Header set Access-Control-Allow-Origin "watch-media.loc"
#SSLCACertificateFile ""
#SSLCertificateChainFile ""
SSLCertificateFile "%sprogdir%/userdata/config/cert_files/server.crt"
SSLCertificateKeyFile "%sprogdir%/userdata/config/cert_files/server.key"
SetEnvIf User-Agent ".*MSIE [6-9].*" ssl-unclean-shutdown
<FilesMatch "\.(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory "%hostdir%/cgi-bin/">
SSLOptions +StdEnvVars
</Directory>
</VirtualHost>
</IfModule>