TypeScript 中文手册 logo 问答使用教程

请将如下代码复制粘贴到问答根目录的.htaccess文件里

  RewriteEngine on

  RewriteCond %{REQUEST_FILENAME} !-f

  RewriteCond %{REQUEST_FILENAME} !-d

  RewriteCond %{HTTP_HOST} ^lvyou.whatsns.com [NC]

RewriteCond %{SERVER_PORT} !^443$

RewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]

  RewriteRule ^.*$ index.php?$0


如图: