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

Error adding a new page

Started by Muut Archive 11 years ago · 3 replies · 217 views
11 years ago

Hi,
I've got a problem for adding a new page. I just create a new page with this link http://learn.getgrav.org/basics/basic-tutorial#adding-a-new-page .
But when i click on the link in the header, i've got a "Not Found" error.

I check twice, and the .htaccess file exists and is present in the directory /var/www/html on my server.
I red the troubleshooting page, but the issue is the same. I don't know pas directory i have to put in the option RewriteBase.

Can you help me ? :D

Thx in advance

11 years ago

Hi,

I've read this page and try the differents things. But the problem is the same.

Here is the structure of my server :

/var/www/html
and in this repertory there are : .htaccess, user folder, etc ...

The file .htaccess is in the repertory .../html.
I've change AllowOverride option to All.

What i don't understant is :

You should change the '/' to your appropriate subfolder

What is the appropriate subfolder ? Is it the folder where the .htaccess is ? or the folder of the pages ?

Thx in advance

11 years ago

You need to ensure AllowOverride All is enabled for your virtual host/apache. If it is not, it won't even read the .htaccess and if that is the case anything in there is irrelevant. Are you sure that file is even being read?

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1333 9 years ago
Archive · by Muut Archive, 9 years ago
2 924 9 years ago
Archive · by Muut Archive, 9 years ago
2 4055 9 years ago
Archive · by Muut Archive, 9 years ago
1 2935 9 years ago
Archive · by Muut Archive, 9 years ago
3 1111 9 years ago