mod_alias Redirect in LSAPI vs. FactCgi

Discussion in 'Apache Migration/Compatibility' started by kitchin, Nov 7, 2013.

  1. kitchin

    kitchin New Member

    We switched from LSAPI vs. FactCgi and it broke this .htaccess:
    RedirectMatch 301 ^/\w+\.html$
    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:
    DirectoryIndex index.php
    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.

Share This Page