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

Basic mypage not working (for me) in latest version

Started by Muut Archive 11 years ago · 1 replies · 218 views
11 years ago

I installed grav this morning and the home page shows up correctly but I tried to create a second page using the instructions on the home page and the page appears on the home page menu but when I click on it I get an error.

In the browser, I see: Not Found The requested URL /mypage was not found on this server.

In the apache logs, I see: File does not exist: /var/www/html/grav/mypage, referer: http://grav.talalg.com/

Here are the steps I took to create the file:

[amead@talalg grav]$ mkdir user/pages/02.mypage/
[amead@talalg grav]$ vi user/pages/02.mypage/default.md
[amead@talalg grav]$ ls -l user/pages
total 8
drwsrwsr-x 2 amead apache 4096 Feb 5 23:02 01.home
drwxrwsr-x 2 amead apache 4096 Feb 6 14:31 02.mypage
[amead@talalg grav]$ ls -l user/pages/02.mypage/
total 4
-rw-rw-r-- 1 amead apache 124 Feb 6 14:31 default.md
[amead@talalg grav]$ cat user/pages/02.mypage/default.md

TXT
title: My New Page

My New Page!

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1321 9 years ago
Archive · by Muut Archive, 9 years ago
2 916 9 years ago
Archive · by Muut Archive, 9 years ago
2 4047 9 years ago
Archive · by Muut Archive, 9 years ago
1 2921 9 years ago
Archive · by Muut Archive, 9 years ago
3 1105 9 years ago