Lighttpd Rewrite For WordPress Jetpack
The latest WordPress Jetpack (4.3.1) is using <your-site>/wp-json/whatever/
for its api callback to the web server. It is an issue for web server not supporting .htaccess
, and Lighttpd is one of them.
I end up with a lot of 404 errors in the access.log
like the following one:
|
|
Solution
To solve the issue I start exploring Lighttpd url.rewrite. After some research and a few tries, I finally come up with a working configuration:
|
|
John Siu
Update: 2020-08-22