Last active
October 10, 2020 13:26
-
-
Save jhnns/5192282 to your computer and use it in GitHub Desktop.
Contents of httpd-vhosts.conf when running multiple virtual host with xampp.
https:// only works after creating a certificate as described here: http://robsnotebook.com/xampp-ssl-encrypt-passwords
This file contains hidden or 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
## It's important to use normal slashes for paths also on windows | |
<VirtualHost *:80> | |
DocumentRoot "C:/Users/jhnns/dev/xampp/htdocs" | |
ServerName localhost | |
</VirtualHost> | |
<VirtualHost *:80> | |
DocumentRoot "C:/Users/jhnns/dev/peerigon.dev" | |
ServerName peerigon.dev | |
<Directory "C:/Users/jhnns/dev/peerigon.dev"> | |
AllowOverride All | |
Require local | |
</Directory> | |
</VirtualHost> | |
<VirtualHost *:443> | |
DocumentRoot "C:/Users/jhnns/dev/peerigon.dev" | |
ServerName peerigon.dev:443 | |
<Directory "C:/Users/jhnns/dev/peerigon.dev"> | |
AllowOverride All | |
Require local | |
</Directory> | |
SSLEngine on | |
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL | |
SSLCertificateFile "conf/ssl.crt/server.crt" | |
SSLCertificateKeyFile "conf/ssl.key/server.key" | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment