Stick with Apache + SSI enabled. For rebuilding: Migrate to a static site generator (Hugo, 11ty) or a lightweight backend (Express.js + EJS).
Best Practices for Viewing and Maintaining IndexFrame SHTML Pages view indexframe shtml best
If you must keep .shtml files in production: Stick with Apache + SSI enabled