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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

General

Local Grav Installation

Started by David Douglass 4 years ago · 9 replies · 1238 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 :)

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

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

@dpdoug, Just tested and the downloaded zip is just working fine.

  • You may have overlooked something while unzipping the zip file.
  • Are you sure Apache is configured correctly?
  • What is the path to grav-admin/user?
last edited 12/21/22 by pamtbaau
4 years ago

I created a folder, extracted the whole zip into the folder I created then copied the whole folder to the webroot (as specified in the documentation). Since it says there are 2 invisible files in it. I don’t know if those are the 2 you refer to…

4 years ago

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
3 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 Jerry Hunt, 4 days ago
2 76 7 hours ago
General · by pamtbaau, 13 hours ago
1 47 12 hours ago
General · by Andy Miller, 1 day ago
0 44 1 day ago
General · by Marcel, 12 months ago
6 346 5 days ago
General · by Duc , 5 days ago
3 40 5 days ago