Reputation: 2529
We have migrated a PrestaShop(PS) v.1.7.8.7 from an Apache server to a LiteSpeed server which includes the LiteSpeed cache module for PS and crawler enabled.
CloudFlare(CF) has always been in play with both the existing and the new server.
But when we enable "proxied" in DNS settings for the new server - then we suddenly can't login at the admin URL due to a 302 error. It looks like the login page is called 2 times in a row. All other functionality on the site works flawless.
Screenshots of the main-domain which is "proxied" via CF:
Screenshot of the test-domain which is not "proxied" via CF:
The page just redirects to itself again and doesn't complain about wrong user credentials or similar.
We believe it's due to Litespeed's re-write logic. We have tried to disable the LiteSpeed cache module again (the LiteSpeed's rewrite rules are of course still unchanged even though the cache module has been disabled in PS) - and the issue remains. Somehow there is a conflict between CF and LiteSpeed in this setup which causes the redirect error. We know that WordPress has a CF module which enables CF and LiteSpeed's cache module to work simultaneously.
Upvotes: 0
Views: 599