Skip to content

Instantly share code, notes, and snippets.

@Tynael
Created November 29, 2023 16:52
Show Gist options
  • Select an option

  • Save Tynael/0bb24ab74fdc369562f4e3bbdbf44b27 to your computer and use it in GitHub Desktop.

Select an option

Save Tynael/0bb24ab74fdc369562f4e3bbdbf44b27 to your computer and use it in GitHub Desktop.

Revisions

  1. Tynael created this gist Nov 29, 2023.
    16 changes: 16 additions & 0 deletions httpd-vhosts.conf
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    # 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>