Rijumone Rijumone - 1 month ago 11
Apache Configuration Question

Laravel's AsgardCMS doesn't work on Ubuntu properly

I have an installation of AsgardCMS on a git repo. While it seems to work fine on Windows (7 Professional) and MacOS operating systems, I am having trouble running it on my Ubuntu OS (16.04 LTS).
Particularly,

http://localhost/cms/public
works on Windows and MacOS but the same invokes a 404 on Ubuntu. Please note that,
http://localhost/cms/public/index.php
again works fine on Ubuntu, but I need standardised URLs on all platforms.
I tried setting this in my
httpd.conf
file, to redirect requests to index.php if a directory is requested:

<IfModule dir_module>
DirectoryIndex index.html
DirectoryIndex index.php
</IfModule>


But I can't say it helped.

We are actually a team of devs who work on different dev environments.
Any help greatly appreciated. Thanks!

Answer

Specifically, the mod_rewrite module in httpd.confneeded to be uncommented. And AllowOverride All in the same file.

Comments