Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Visit How to Generate SSL Certificates : https://shellcreeper.com/how-to-create-valid-ssl-in-localhost-for-xampp/
- D:\xampp\apache\conf\extra\httpd-vhosts.conf
- <VirtualHost *:443>
- ServerAdmin [email protected]
- DocumentRoot "D:/xampp/htdocs/saas/public" # ✅ only public
- ServerName saas.local
- ServerAlias *.saas.local
- SSLEngine on
- SSLCertificateFile "crt/saas.local/server.crt"
- SSLCertificateKeyFile "crt/saas.local/server.key"
- <Directory "D:/xampp/htdocs/saas/public"> # ✅ allow overrides for Laravel
- Options Indexes FollowSymLinks
- AllowOverride All
- Require all granted
- </Directory>
- ErrorLog "logs/saas.local-error_log"
- CustomLog "logs/saas.local-access_log" common
- </VirtualHost>
Advertisement