and you can see the file in the public folder, and the filename is exactly the right case?
Aug 27, 2016
4
Level 8
accessing image localy works but not on production server
I deployed an app to heroku. I upload some images and they are placed in public folder. When I try to directly access the image like this: http://frozen-fortress-97791.herokuapp.com/TdueJ2s.jpg
I get Sorry, the page you are looking for could not be found. 1/1 NotFoundHttpException in RouteCollection.php line 161:
When I do the same on localhost like this http://images.dev/5VFjZpH.jpg I get an image back.
What could be wrong on production server? It's running apache2 and it's using same .htaccess that comes with laravel
Please or to participate in this conversation.