Last active
December 8, 2019 04:58
-
-
Save Anime4000/1164ad66f6835ca698874fe5693d399c to your computer and use it in GitHub Desktop.
WAMP HTTPS/SSL for Internet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:443> | |
ServerName example.com | |
ServerAdmin [email protected] | |
DocumentRoot "${INSTALL_DIR}/www/internet" | |
<Directory "${INSTALL_DIR}/www/internet/"> | |
Options +Indexes +Includes +FollowSymLinks +MultiViews | |
AllowOverride All | |
Require all granted | |
</Directory> | |
SSLEngine on | |
SSLCertificateFile "${SRVROOT}/conf/server.crt" | |
SSLCertificateKeyFile "${SRVROOT}/conf/server.key" | |
<FilesMatch "\.(cgi|shtml|phtml|php)$"> | |
SSLOptions +StdEnvVars | |
</FilesMatch> | |
<Directory "${SRVROOT}/cgi-bin"> | |
SSLOptions +StdEnvVars | |
</Directory> | |
BrowserMatch "MSIE [2-5]" \ | |
nokeepalive ssl-unclean-shutdown \ | |
downgrade-1.0 force-response-1.0 | |
CustomLog "${SRVROOT}/logs/ssl_request.log" \ | |
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" | |
ErrorLog "${SRVROOT}/logs/error.log" | |
TransferLog "${SRVROOT}/logs/access.log" | |
</VirtualHost> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
ServerName example.com | |
DocumentRoot "${INSTALL_DIR}/www/internet" | |
<Directory "${INSTALL_DIR}/www/internet/"> | |
Options +Indexes +Includes +FollowSymLinks +MultiViews | |
AllowOverride All | |
Require all granted | |
</Directory> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment