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

Subpages don't work with XAMPP?

Started by Muut Archive 11 years ago · 4 replies · 432 views
11 years ago

I've locally installed Grav with the Agency skeleton theme and the newest version of XAMPP. However, there's a problem. Any of the subpages don't work, only the front page works. I installed the admin plugin via GPM and when I try to go to c:/xampp/htdocs/grav/admin I get this message:

“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”

The weird thing is that I uploaded the site as-is to my webserver and lo and behold, everything works perfectly there. It must be then an issue with XAMPP and Grav not playing together for some reason. Any ideas what could be causing it?

11 years ago

You need to makes sure you have the rewrite and headers modules enabled for Apache

11 years ago

Thanks for the link, that solved it. Looks like I'm an idiot and didn't copy the .htaccess file. Works fine now.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1338 9 years ago
Archive · by Muut Archive, 9 years ago
2 927 9 years ago
Archive · by Muut Archive, 9 years ago
2 4056 9 years ago
Archive · by Muut Archive, 9 years ago
1 2941 9 years ago
Archive · by Muut Archive, 9 years ago
3 1112 9 years ago