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:
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: