lighttpd开启伪静态的方法(typecho)
在主机根目录新建一个.htaccess文件,然后键入以下内容:
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R=301]
然后于typecho的设置-永久链接中开启地址重写(请强制开启地址重写)
lighttpd开启伪静态的方法(typecho)
https://https.gs/archives/3/