Sophie-Tracker-3000 icon indicating copy to clipboard operation
Sophie-Tracker-3000 copied to clipboard

Routing error with Apache

Open venom85 opened this issue 12 years ago • 1 comments

I'm trying to set this software up with Apache as the hosting application. I've installed dependencies with composer and run the database migrations successfully using a production database.php file. When I try to track an event, though, it just sits indefinitely on the spinner. The Apache logs say that it can't find a file that is one of the routes.

File does not exist: /var/www/sophietracker/public/track

This obviously routes to the TrackController, which is there. I've checked ownership and permissions of files, and the apache user can get to everything. I've also ensured that all JS and ad blockers are turned off. I'm not sure if it's related, but I also can't get the dashboard flip to work. The button changes, but the entire rest of the page doesn't. I'm guessing it's all one problem manifesting itself in different places. Hopefully this is easily fixable!

venom85 avatar Dec 04 '13 17:12 venom85

It sounds like there may be an issue with your .htaccess file. Can you ensure that the file exists in your public directory and that Apache is executing it correctly?

MiniCodeMonkey avatar Dec 09 '13 21:12 MiniCodeMonkey