Created
November 29, 2023 16:52
-
-
Save Tynael/0bb24ab74fdc369562f4e3bbdbf44b27 to your computer and use it in GitHub Desktop.
Apache's httpd-vhosts.conf file
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
# xampp/apache/conf/extra/httpd-vhosts.conf | |
<VirtualHost *:80> | |
ServerName localvaren.com | |
ServerAlias localvaren.com | |
DocumentRoot "G:/xampp/htdocs/varen/public" | |
</VirtualHost> | |
<VirtualHost *:443> | |
ServerName localvaren.com | |
ServerAlias localvaren.com | |
DocumentRoot "G:/xampp/htdocs/varen/public" | |
SSLEngine on | |
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
Example used in https://neutrondev.com/how-to-set-up-ssl-certificate-localhost-xampp/