Skip to content
Grav 2.0 is officially stable. Read the announcement →
General

Local Grav Installation

Started by David Douglass 4 years ago · 9 replies · 1456 views
4 years ago

I'm setting up grav to run on my computer, I have installed Apache, PHP (latest version), Twig. I downloaded the zip file and extracted it and copied the extracted folder to the webroot. My OS is Manjaro Linux.

When I put "http://localhost/grav-admin/" into the browser's location bar, I get "Index of /grav-admin" with the directory of all the grav files.

It should be displaying the admin signup page, shouldn't it? What am I doing wrong? Or what haven't I done yet?

4 years ago

http://localhost/grav-admin/ should show you a new user registration form. Admin is most likely under http://localhost/grav-admin/admin (grav-admin is your Grav root I believe). As for why you see folder/file list instead of proper page, I don't know. Maybe something's wrong with .htaccess (if it's there) or server config. I'm not good at this :)

1 reply
4 years ago

@dpdoug, I can only reproduce this behaviour when both .htaccess and index.php are absent in the root folder of the Grav installation.

4 years ago

What should .htaccess look like? And where should these 2 files go? I have the Grav files in the grav-admin folder (/srv/http/grav-admin/). By the way, my OS is Manjaro -- a Linux distro. (I don't know if that has any bearing on it or not)

last edited 12/21/22 by David Douglass
4 years ago Karmalakas http://localhost/grav-admin/ should show you a new user registration form. Admin is most l…

Object not found!

The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.

If you think this is a server error, please contact the [webmaster]().

Error 404

localhost
Apache/2.4.54 (Unix)

This is what I get when I enter http://localhost/grav-admin/admin

last edited 12/22/22 by pamtbaau
4 years ago pamtbaau @dpdoug, Just tested and the downloaded zip is just working fine. You may have overlooked…

The file .htaccess is not in the grav-admin folder. I don't know if that's one of the hidden files or not. Also, what would I have to do to correctly configure Apache? It has a huge .ini file and I don't have the first idea what might need to be changed.

Is the .htaccess file supposed to be with the Grav install zip file? I unzipped the whole file into a folder, as I already mentioned, and copied the whole folder with complete contents to the webroot.

By the error message, obviously there is something missing. Is there some way to find out what that Object might be?

last edited 12/22/22 by David Douglass
4 years ago

@dpdoug, Apart from...

  • Have you had any chance to search this forum?
  • Have you had any chance to search the web?
  • Here is a doc on 404 Not Found,

...I'm out of suggestions...

last edited 12/22/22 by pamtbaau

Suggested topics

Topic Participants Replies Views Activity
General · by jean-louis67, 3 weeks ago
2 308 3 weeks ago
General · by Andy Miller, 3 weeks ago
0 310 3 weeks ago
General · by Veehem, 4 weeks ago
0 263 4 weeks ago
General · by milkboy, 4 weeks ago
0 264 4 weeks ago
General · by ian russell, 1 month ago
2 335 1 month ago