Guest User

Untitled

a guest
May 23rd, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. DocumentRoot C:/xampp/htdocs/yourProject
  2. ServerName yourProject.whatever
  3. SSLEngine on
  4. SSLCertificateFile "conf/ssl.crt/server.crt"
  5. SSLCertificateKeyFile "conf/ssl.key/server.key"
  6.  
  7. RewriteCond %{SERVER_PORT} ^80$
  8. RewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]
Add Comment
Please, Sign In to add comment