We switched from LSAPI vs. FactCgi and it broke this .htaccess:
That's the same site, so it's just a redirect to home.
We had no index.html file, so this worked.
After the switch to LSAPI, we had a redirect loop because it was looking for index.html. This fixed it:
Maybe what gets fed to .htaccess changed ? Or maybe the server-wide DirectoryIndex changed, and LSAPI and FactCgi have the same behavior.
The platform is cPanel/WHM on CloudLinux.
Wonder if anyone has a list of LSAPI vs. FactCgi gotchas.
Code:
RedirectMatch 301 ^/\w+\.html$ http://example.com/
We had no index.html file, so this worked.
After the switch to LSAPI, we had a redirect loop because it was looking for index.html. This fixed it:
Code:
DirectoryIndex index.php
The platform is cPanel/WHM on CloudLinux.
Wonder if anyone has a list of LSAPI vs. FactCgi gotchas.