Cheap VPS has been recommended recently. As you know, cheap VPS generally only has 128MB or 256MB of memory. Especially after installing the free KLOXO panel, we usually choose to switch Apache to lighttpd to save memory.
However, a subsequent problem arises. lighttpd does not support .htaccess, so how do we configure rewrite pseudo-static? After searching around on Google, we finally successfully implemented lighttpd's pseudo-static. All we have to do is write the rules into the lighttpd configuration. Next, I will take wordpress as an example to explain how to implement it. First the rules:
url.rewrite = (
"^/(wp-.+).*/?" => "$0",
"^/(sitemap.xml)" => "$0",
" ^/(xmlrpc.php)" => "$0",
"^/(.+)/?$" => "/index.php/$1"
)
We log in to the KLOXO backend, expand the domain name in order, install the WP domain name, script, lighttpd address rewriting rules, then fill in the above rules into the input box on the right, update, and that's it. As shown below:

After completion, remember to restart lighttpd in the service. This is very important! It may be ineffective without restarting!
[Attached is DZ to enable Rewrite rules under lighttpd]
url.rewrite-once = (
"^/archiver/((fid|tid)-[w-]+.html)$" => "archiver/index.php?$1",
"^/ forum-([0-9]+)-([0-9]+).html$" => "forumdisplay.php?fid=$1&page=$2",
"^/thread-([0- 9]+)-([0-9]+)-([0-9]+).html$" => "viewthread.php?tid=$1&extra=page=$3&page=$2",
" ^/space-(username|uid)-(.+).html$" => "space.php?$1=$2",
"^/tag-(.+).html$" => "tag .php?name=$1"
)
