首先,修改 /etc/lighttpd/lighttpd.conf 激活 mod_rewrite 模块。格式如下: server.modules = ( "mod_access", "mod_alias", "mod_compress", "mod_redirect", "mod_rewrite", ) 方法一: 然后在 /etc/lighttpd/conf-enabled/10-simple-vhost.conf 内添修改如下: $HTTP["host"] == "rex.zhang.name" { server.docume
让lighttpd支持WordPress的ReWrite固定链接
发表评论