litespeedtech / openlitespeed

Our high-performance, lightweight, open source HTTP server
https://openlitespeed.org
GNU General Public License v3.0
1.16k stars 189 forks source link

Site showing 404 even when properly configured. #274

Open MaximKing1 opened 2 years ago

MaximKing1 commented 2 years ago

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

qtwrk commented 2 years ago

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

MaximKing1 commented 2 years ago

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