openlitespeed icon indicating copy to clipboard operation
openlitespeed copied to clipboard

Site showing 404 even when properly configured.

Open MaximKing1 opened this issue 3 years ago • 2 comments

So, we have switched from Nginx to OpenLiteSpeed today and on one of our Laravel 8 applications it shows a 404 page even though we have setup the Listener and vHosts. When we setup another Laravel 8 application it worked, but the second one which is setup in the same way will just show 404. What’s odd is at the end of the domain it shows /login which is the front page of that Laravel 8 application and I’ve tried to clear my catch and used 3 diff enter browsers and all have /login on the end so it’s finding the starting page somehow? Any ideas

MaximKing1 avatar Oct 08 '21 19:10 MaximKing1

does it 200 OK on any static requests ? like img , css js ...etc ?

does it rely on rewrite rule ?

should check the debug log , it should note what's going on

qtwrk avatar Oct 08 '21 19:10 qtwrk

does it 200 OK on any static requests ? like img , css js ...etc ?

does it rely on rewrite rule ?

should check the debug log , it should note what's going on

I have checked debug log and I cannot see anything except:

No request delivery notification has been received from LSAPI application, possible dead lock.

But this is saying it’s from another vHost which is working fine, and I cannot see anything else? What’s weird is that it shows /login which is first page so something it working but just shows 404? Any ideas

MaximKing1 avatar Oct 08 '21 21:10 MaximKing1