MkyTaP - 開發筆記
主要工具: Linux, Python, SQL
Monday, May 13, 2019
https: how to redirect http to https
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteCond %{REQUEST_URI} translate
RewriteRule ^(.*)$ https://domain.com/translate/$1 [R,L]
Reference:
https://serverguy.com/servers/redirect-http-to-https/
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment