mardi 28 novembre 2017

Using .htaccess DirectoryIndex prevents from loading assets

So I have a bit of a problem. I've just uploaded my website files on a hostgator shared hosting server. I need to configure the .htaccess file in the so that the index directory is /me/web/app.php. I've written a simple

DirectoryIndex /me/web/app.php

and it redirects correctly, except that none of the assets are loaded. No css, images, etc. Whereas, when I load directly http://ift.tt/2ndM0HS, it works fine.

I guess my question is, what's going on here?

This is symfony 3 project, by the way. In case that's relevant.




Aucun commentaire:

Enregistrer un commentaire