Laravel 11 api route not working on apache server
I am doing a project for my university, and i hosted simple laravel app for tetris. Players play the game and on game over score should be uploaded to my web app and shown on leaderboard. I create api route api/save_score in my laravel app. it works on localhost but api route does not work on server i get this error message
Why Do I get a 500 Internal Server Error When Deploying A Laravel App to the Project Root Directory In Virtual Hosts Configuration?
My app will open to the laravel root if my vritual host config is like so: