Created
June 25, 2021 04:50
-
-
Save aliqasemzadeh/cec29ddc87b4170d276c1f85ef5f4178 to your computer and use it in GitHub Desktop.
Virtual Host For Xampp (None-SSL, SSL)
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
<VirtualHost *:80> | |
DocumentRoot "C:/xampp/htdocs/project_name/public" | |
ServerName project_name.local | |
<Directory "C:/xampp/htdocs/project_name/public"> | |
</Directory> | |
</VirtualHost> | |
<VirtualHost *:443> | |
DocumentRoot "C:/xampp/htdocs/project_name/public" | |
ServerName project_name.local | |
SSLEngine on | |
SSLCertificateFile "conf/ssl.crt/server.crt" | |
SSLCertificateKeyFile "conf/ssl.key/server.key" | |
<Directory "C:/xampp/htdocs/project_name/public"> | |
</Directory> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment