Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #-----------------------------------------------#
- # Начало блока конфигурации HTTP хоста
- #-----------------------------------------------#
- <VirtualHost *:%httpport%>
- DocumentRoot "%hostdir%"
- ServerName "%host%"
- ServerAlias "%host%" %aliases%
- ScriptAlias /cgi-bin/ "%hostdir%/cgi-bin/"
- </VirtualHost>
- #-----------------------------------------------#
- # Конец блока конфигурации HTTP хоста
- #-----------------------------------------------#
- #-----------------------------------------------#
- # Начало блока конфигурации HTTPS хоста
- #-----------------------------------------------#
- <IfModule ssl_module>
- <VirtualHost *:%httpsport%>
- DocumentRoot "%hostdir%"
- ServerName "%host%"
- ServerAlias "%host%" %aliases%
- ScriptAlias /cgi-bin/ "%hostdir%/cgi-bin/"
- SSLEngine on
- #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 [1-5].*" \
- nokeepalive ssl-unclean-shutdown \
- downgrade-1.0 force-response-1.0
- 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>
- <Directory f:\server\OSPanel\domains\symfony777.ua\>
- Order allow,deny
- Allow from all
- AllowOverride all
- Require all granted
- </Directory>
- #-----------------------------------------------#
- # Конец блока конфигурации HTTPS хоста
- #-----------------------------------------------#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement