Apache FastCGI example
A minimal Apache virtual host can rewrite friendly URLs and proxy LaiRu pages to FPM.
Target
This example assumes proxy and rewrite modules are enabled. It keeps static assets in Apache and only sends LaiRu page execution to the process manager.
If the application uses path-based routing, verify PATH_INFO, REQUEST_URI, and the rewritten script target with a small diagnostic page before deploying.
Examples
Working pattern
1<VirtualHost *:80>2 ServerName example.test3 DocumentRoot /var/www/html4 RewriteEngine On5 RewriteCond %{REQUEST_FILENAME} !-f6 RewriteCond %{REQUEST_FILENAME} !-d7 RewriteRule ^ /index.lasso [QSA,L]8 ProxyPassMatch ^/(.*\.lasso)$ fcgi://127.0.0.1:9021/var/www/html/$19</VirtualHost>Use this as a focused starting point and adapt it in context.