Forum

Thread tagged as: Problem

Perch Runway root files problem

After installing Perch Runway my index.html file located on the root with a "site coming soon" message won't show. It automatically shows the home.php which is located in template pages. I also get a "Sorry, that page could not be found." on every subfolder i create for see if i can view my index.html from inside an subfolder. Something wrong in my installation or whats going on?

Trying some debugging over here myself. When i remove the .htaccess it works just fine but with the .htaccess on root the problem over occur. I got this copied into my .htaccess file from perch documentation (note that ive renamed my perch folder to dv-cms):

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

Erick Green 0 points

  • 5 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

If you've got existing files in the site, you could try:

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

Now it works. Whats the difference between dont have the .htaccess file and using the code above? Since they both seems to work i mean.

Drew McLellan

Drew McLellan 2638 points
Perch Support

You need to have the rewrite rules in place. Runway routing won't work without it.