Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DocumentRoot C:/xampp/htdocs/yourProject
- ServerName yourProject.whatever
- SSLEngine on
- SSLCertificateFile "conf/ssl.crt/server.crt"
- SSLCertificateKeyFile "conf/ssl.key/server.key"
- RewriteCond %{SERVER_PORT} ^80$
- RewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]
Add Comment
Please, Sign In to add comment