Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Problem with rewrite or routing

Started by Muut Archive 10 years ago · 2 replies · 638 views
10 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 ?

10 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

10 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 Muut Archive, 10 years ago
1 672 1 week ago
Archive · by Deleted User, 9 years ago
0 3042 9 years ago
Archive · by Muut Archive, 9 years ago
2 1983 9 years ago
Archive · by Muut Archive, 9 years ago
2 5336 9 years ago
Archive · by Muut Archive, 9 years ago
1 4134 9 years ago