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.

Archive

Problem with rewrite or routing

Started by Muut Archive 9 years ago · 2 replies · 431 views
9 years ago

Hi,
after installation, any other URL than the root with end in a 404 not found error, if I remove .htaccess, it looks like I could access other page if I knew what to type after index.php, that's why I suspect the rewrite process...
What can I do ?

9 years ago

Did you try this:

If AllowOverride is set to None or anything other than All, you will need to change it to All and save. This change will require a reset of your Apache server to register.

From: Learn Grav: Troubleshoot htaccess

9 years ago

Thank you, it was the problem ! I had already checked it but I used the wrong syntax... Here how I did for the next people : in /etc/apache2/sites-available/monbloggrav.conf I added "<Directory "/var/www/grav">
AllowOverride all
</Directory>"
then sudo service apache2 reload !

Thanks again.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1280 9 years ago
Archive · by Muut Archive, 9 years ago
2 888 9 years ago
Archive · by Muut Archive, 9 years ago
2 4018 9 years ago
Archive · by Muut Archive, 9 years ago
1 2893 9 years ago
Archive · by Muut Archive, 9 years ago
3 1077 9 years ago