3

lighttpd1.43版如何开启伪静态,为什么总是报404 - Not Found

 3 years ago
source link: https://www.oschina.net/question/4905924_2323474
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

问题:安装好ZBLOG后,在后台设置伪静态后,总是报错

404 - Not Found

在网上找了很多资料,也测试了很多试,但是总不成功!我的服务器是:

系统环境 Linux2.6.36; lighttpd1.4.30; PHP5.4.5; mysqli5.1.53; curl7.33.0; OpenSSL1.0.1e

url.rewrite = (
"^/(admin|usr)/(.*)"  => "/$1/$2",
"^/(.*).html$" => "/index.php/$1.html",
"^/archives/(.*)" => "/index.php/archives/$1",
"^/category/(.*)" => "/index.php/category/$1",
"^/([0-9]+)/([0-9]+)/$" => "/index.php/$1/$2/",
"^/tag/(.*)/$" => "/index.php/tag/$1",
"^/search/(.*)/$" => "/index.php/search/$1",
"^/(.*)page/(.*)" => "/index.php/$1page/$2",
"^/(feed.*)" => "/index.php/$1",
"^/action/(.*)" => "/index.php/action/$1",
"^/(.*)comment" => "/index.php/$1/comment"
)这个也试地字,还是不行,不知道是不是1.43不支持伪静态还是怎么样,请大神看看,谢谢!


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK