Forum
Stuck in "Sorry, that page could not be found." with new runway installations
I'm running OSX with Mamp. I've created a database in php admin and all the installation works fine. I've added a .htaccess file in the root with
# Perch Runway
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/perch
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* /perch/core/runway/start.php [L]
But when I go to https://localhost:8888/ i just get the "Sorry, that page could not be found" message. Everything was working fine before I upgraded to runway. The perch folder is intact. The master pages are there, but nothing shows up.
Does anyone have an idea?
Change your .htaccess to the following
Because you upgraded there is an extra line which you wouldn't need in a new install
https://docs.grabaperch.com/runway/installing/rewrites/
ADDED:
This line...
Checks to see if the directory exists and if it does then it will not execute the RewriteRule
This is actually a totally fresh runway installation. Does the code still apply for that?
Do you have any evidence that mod_rewrite is working at all on this server?
Not if your pages are templates in perch/templates/pages...
Give me an idea of the structure of your site, Where are your pages? You started your post stating this was an upgrade, but since this is a new install we need to know where your at now.
Sorry Drew, both responding at same time...
Sorry if I'm being unclear. It's plain new runway installation in MAMP's htdocs folder. It only holds the Perch Runway folder. I haven't added or deleted anything.
@Drew no the modrewrite doesn't seem to be working at all.
The first step is to make sure you have mod_rewrite up and running.
I've been following this tutorial. But just using mamp instead of vagrant sequel pro
Introduction to Perch Runway
If mod_rewrite isn't working in Mamp you need to speak to their support and find out how to enable it, we can't offer support for local environments.