Forum

Thread tagged as: Question, Problem, Runway

Perch Runway - Routing Problem

I installed Perch Runway on my mac (using Mavericks) I did the compatibility test and everything worked fine. Installed Runway on my machine using MAMP. But for some reason routing is not working.

When I add a new page select the default master page, no regions appear when I click save.

My .htaccess file is the following:

# Perch Runway
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/perch
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* /perch/core/runway/start.php [L]

But funny thing is I installed runway completely fine on my work machine (Mountain Lion) and routing is working.

Have you come across anything similar. I'm guessing its a Mavericks problem?

Fishtank Creative

Fishtank Creative 2 points

  • 7 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

What happens when you try to view a page?

So for example for the Homepage I get a 403 error message saying:

"Forbidden You don't have permission to access / on this server."

Drew McLellan

Drew McLellan 2638 points
Perch Support

Could you try:

# Perch Runway
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/perch 
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* /perch/core/runway/start.php [L] 

Unfortunately that didnt work, its still showing the same error.

I just don't know why it would work on Mountain Lion but not on Mavericks.

All MAMP PRO settings are exactly the same on both machines the only difference is the OS Version.

I also just checked the apache error log on MAMP and these are the errors I am getting:

[Tue Nov 04 21:05:13 2014] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /Users/barrycorrigan/Sites/runway.test/
Drew McLellan

Drew McLellan 2638 points
Perch Support

Can you double check that you have mod_rewrite enabled?

See Image Below

According to MAMP this has been installed

Drew McLellan

Drew McLellan 2638 points
Perch Support

Are the versions of apache different?

Runway won't be able to route your requests if you can't get the web server to pass them on.