Skip to content

Instantly share code, notes, and snippets.

@haroonabbasi
Created September 15, 2014 17:01
Show Gist options
  • Save haroonabbasi/54144f910769af63b9f3 to your computer and use it in GitHub Desktop.
Save haroonabbasi/54144f910769af63b9f3 to your computer and use it in GitHub Desktop.
SSL on Xampp
<VirtualHost faq.localhost:443>
ServerAdmin postmaster@dummy-host.faq.localhost
DocumentRoot "C:/xampp/htdocs/facebook-faq"
ServerName faq.localhost
ServerAlias faq.localhost
SSLEngine on
SSLCertificateFile "conf/ssl.crt/server.crt"
SSLCertificateKeyFile "conf/ssl.key/server.key"
ErrorLog "logs/default.faq.localhost.log"
CustomLog "logs/default.faq.localhost.log" combined
<Directory "C:/xampp/htdocs/facebook-faq">
AllowOverride All
Allow from All
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment