Grav: /admin is a 404

Created on 25 Jun 2016  路  9Comments  路  Source: getgrav/grav

I'm trying to try out Grav under the Apache server on OS X, managed by Server.app.

If I download the version without admin, I can get to the home page ok.

If I download the version with admin, I get redirected to /admin, but it's a 404. (However nothing about it shows up in the Apache error log.)

I see the same behavior if I download without admin and use gpm to install it, and if I use either the RC or stable versions.

I'm guessing this is some issue with the default Apache config on OS X?

Most helpful comment

I had the same issue with CentOS 7 and PHP 7.0.20 and I solved it by modifying to apache config (/etc/httpd/conf/httpd.conf) the following setting:

<Directory "/var/www">
AllowOverrideAll

I hope it can help others.

All 9 comments

PHP 5.6.22 btw...

Solved?

Same problem here on Arch Linux.

Jup, and I actually had to undo the nginx tip (the last one) and simply moved the installation NOT in a subfolder. Then it worked quite fine. So in he subfolder with the edited nginx it did not work.

I had the same issue with CentOS 7 and PHP 7.0.20 and I solved it by modifying to apache config (/etc/httpd/conf/httpd.conf) the following setting:

<Directory "/var/www">
AllowOverrideAll

I hope it can help others.

Sorry to bring up an old issue, but I have this problem with Lighttpd, after I installed the admin module. I got "mod_rewrite" enabled and server.follow-symlink = "enable" in my config. Not sure what the equivelant of "AllowOverride = All" is in Lighttpd.

While the main site was being rendered , admin site was not , a bit of research and this worked for me

AllowOverrideAll

Thanks to -> mlopezcoria

Was this page helpful?
0 / 5 - 0 ratings

Related issues

balajmarius picture balajmarius  路  17Comments

ThinkDevStudios picture ThinkDevStudios  路  17Comments

glasswork picture glasswork  路  28Comments

ulilu picture ulilu  路  29Comments

joville picture joville  路  23Comments