Forum

Thread tagged as: Question, Runway

Runway Routing issue for site's home page only...

Really stumped on this... I've got a working site in Runway on a test server. All routing is working EXCEPT for the site's home page. The homepage displays the site's file listing...

For the site's home, I have the path set to '/' and the URL pattern set to 'home.php'.

I feel like I've checked everything twice but can't figure out what's wrong...

I'm using the standard Runway .htaccess of:


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

And here is the diagnostics report:


Perch Runway: 3.0.12 Production mode: Production (100) Installed apps: content (3.0.12), assets (3.0.12), categories (3.0.12), perch_blog (5.6.1), perch_forms (1.10), perch_gallery (2.8.9), perch_shop_orders (1.2.5), perch_shop_products (1.2.5), perch_shop (1.2.5), perch_members (1.6.2), redfinch_logger (1.0.1) DB driver: PDO DB tables: perch2_backup_plans (1), perch2_backup_resources (590), perch2_backup_runs (308), perch2_blog_authors (4), perch2_blog_comments (0), perch2_blog_index (2343), perch2_blog_posts (57), perch2_blog_posts_to_tags (47), perch2_blog_sections (4), perch2_blog_tags (38), perch2_blog_webmention_queue (0), perch2_blogs (1), perch2_categories (7), perch2_category_counts (0), perch2_category_sets (4), perch2_collection_index (17540), perch2_collection_items (1118), perch2_collection_revisions (315), perch2_collections (8), perch2_content_index (1561), perch2_content_items (692), perch2_content_locks (1), perch2_content_regions (272), perch2_events (84), perch2_events_categories (8), perch2_events_to_categories (88), perch2_forms (4), perch2_forms_responses (207), perch2_gallery_albums (1), perch2_gallery_image_versions (95), perch2_gallery_images (19), perch2_members (0), perch2_members_forms (0), perch2_members_member_tags (0), perch2_members_sessions (0), perch2_members_tags (0), perch2_menu_items (28), perch2_navigation (11), perch2_navigation_pages (45), perch2_page_routes (59), perch2_page_templates (130), perch2_pages (120), perch2_resource_log (12693), perch2_resource_tags (29), perch2_resources (3861), perch2_resources_to_tags (74), perch2_scheduled_tasks (30), perch2_settings (94), perch2_shop_addresses (0), perch2_shop_admin_index (0), perch2_shop_brands (1), perch2_shop_cart (1), perch2_shop_cart_data (0), perch2_shop_cart_items (0), perch2_shop_countries (250), perch2_shop_currencies (152), perch2_shop_customers (0), perch2_shop_emails (1), perch2_shop_index (52), perch2_shop_option_values (0), perch2_shop_options (1), perch2_shop_order_items (0), perch2_shop_order_promotions (0), perch2_shop_order_statuses (9), perch2_shop_orders (0), perch2_shop_orders_meta (1), perch2_shop_product_files (0), perch2_shop_product_option_values (0), perch2_shop_product_options (0), perch2_shop_product_tags (0), perch2_shop_products (0), perch2_shop_promotions (0), perch2_shop_sales (0), perch2_shop_search (0), perch2_shop_shipping_zone_countries (0), perch2_shop_shipping_zones (0), perch2_shop_shippings (0), perch2_shop_tax_exhibits (0), perch2_shop_tax_group_rates (0), perch2_shop_tax_groups (0), perch2_shop_tax_locations (0), perch2_shop_tax_rates (0), perch2_shop_variants (0), perch2_user_passwords (5), perch2_user_privileges (91), perch2_user_role_buckets (0), perch2_user_role_privileges (60), perch2_user_roles (10), perch2_users (11), perch_contentItems (15), perch_events (1), perch_events_categories (1), perch_events_to_categories (1), perch_gallery_albums (1), perch_gallery_images (20), perch_gallery_imagesets (5), perch_pages (8), perch_pages_navgroups (1), perch_pages_templates (2), perch_settings (16), perch_users (4) Users: 11 App runtimes: <?php $apps_list = [ 'perch_blog', 'perch_forms', 'perch_gallery', 'perch_members', ]; ?> Scheduled tasks for perch_blog: delete_spam_comments (1440 mins), publish_posts (1 mins), process_webmentions (1 mins) Scheduled tasks for redfinch_logger: logger_events_gc (1440 mins) Scheduled tasks for Backup: plan_1 (10 mins) Editor plug-ins: ckeditor, markitup H1: 051ea4b859a8bac10d85837216cc540d L1: 6e143fd328eb8f921cc47200e93ee271 F1: 3b606135b33e6a102526838f4152a807 headerColour: #ffffff content_singlePageEdit: 1 helpURL: hideBranding: 0 content_collapseList: 1 lang: en-gb update_2.1.2: done latest_version: headerLinkColour: #000000 logoPath: /perch/resources/web_logo_s1.gif linkColour: #333333 editorMayDeleteRegions: 0 perch_events_editorMayManageCats: 0 perch_pages_folders: /stewardship/ /support_mcht/ /land_protection/ /about/ perch_pages_editorMayDeletePages: 0 perch_backup_admin_only: 1 perch_backup_mysqldump_path: latestUpdate: 1.8.4 update_2.1.3: done update_2.2: done update_2.2.1: done update_2.2.3: done update_2.2.7: done update_2.2.10: done on_sale_version: update_2.4: done update_2.4.8: done update_2.5: done perch_gallery_update: 2.8.5 perch_events_update: 1.8 headerScheme: light perch_events_detail_url: /trips-events/{slug} perch_gallery_bucket_mode: dynamic perch_gallery_bucket: gallery_images dashboard: 1 hide_pwd_reset: 0 content_hideNonEditableRegions: 0 content_frontend_edit: 0 perch_gallery_basicUpload: 0 update_2.5.4: done update_2.6: done update_2.7.6: done perch_blog_update: 5.6 perch_blog_post_url: /stories/{postSlug} perch_blog_slug_format: %Y-%m-%d-{postTitle} perch_blog_akismet_key: perch_blog_max_spam_days: 0 perch_blog_comment_notify: 0 update_2.7.10: done update_2.8: done update_2.8.2: done update_2.8.4: done update_2.8.10: done update_runway_2.8.13: done update_runway_2.8.15: done perch_blog_site_name: Stories From the Coast update_runway_2.8.18: done update_runway_2.8.20: done update_runway_2.8.27: done update_runway_2.8.29: done update_runway_2.8.32: done update_runway_2.8.34: done update_runway_3.0.1: done siteOffline: 0 update_runway_3.0.3: done update_runway_3.0.4: done update_runway_3.0.8: done keyboardShortcuts: 0 content_skip_region_list: 0 perch_blog_webmention_tx: 0 perch_blog_webmention_rx: 0 update_runway_3.0: done update_runway_3.0.10: done assets_restrict_buckets: 0 perch_members_login_page: /members/login.php?r={returnURL} perch_shop_price_tax_mode: inc perch_shop_trade_price_tax_mode: inc perch_shop_site_url: https://mcht.lewisarts.com perch_shop_product_url: /shop/products/{slug} perch_shop_invoice_number_format: Invoice%d perch_shop_update: 1.2.5 perch_shop_default_currency: 47 perch_shop_reporting_currency: 47 perch_members_update: 1.4 update_runway_3.0.11: done update_runway_3.0.12: done siteURL: https://mcht.lewisarts.com redfinch_logger_gc: 90 sidebar_back_link: 0 PERCH_DEVELOPMENT: 10 PERCH_STAGING: 50 PERCH_PRODUCTION: 100 PERCH_DB_USERNAME: mcht_db_perch PERCH_DB_SERVER: data.mcht.lewisarts.com PERCH_DB_DATABASE: mcht_db PERCH_DB_PREFIX: perch2_ PERCH_SSL: 1 PERCH_SITE_BEHIND_LOGIN: 1 PERCH_SITEPATH: /home/mcht_deploy/mcht.lewisarts.com/ PERCH_TZ: US/Eastern PERCH_EMAIL_FROM: mlewis@lewisarts.com PERCH_EMAIL_FROM_NAME: Monty Lewis PERCH_LOGINPATH: /perch PERCH_PATH: /home/mcht_deploy/mcht.lewisarts.com/perch PERCH_CORE: /home/mcht_deploy/mcht.lewisarts.com/perch/core PERCH_RESFILEPATH: /home/mcht_deploy/mcht.lewisarts.com/perch/resources PERCH_RESPATH: /perch/resources PERCH_IMAGE_LIB: GD PERCH_SCHEDULE_SECRET: pearl PERCH_HTML5: 1 PERCH_CLEAN_RESOURCES: PERCH_RWD: 1 PERCH_RUNWAY: 1 PERCH_ERROR_MODE: DIE PERCH_DATE_LONG: %d %B %Y PERCH_DATE_SHORT: %d %b %Y PERCH_TIME_SHORT: %H:%M PERCH_TIME_LONG: %H:%M:%S PERCH_RUNWAY_ROUTED: PERCH_STRONG_PASSWORDS: PERCH_ASSET_VERSION: f704e7442d11292c99b5 PERCH_DEBUG: PERCH_PREVIEW_ARG: preview PERCH_TEMPLATE_PATH: /home/mcht_deploy/mcht.lewisarts.com/perch/templates PERCH_TEMPLATE_FILTERS: PERCH_DEFAULT_DOC: index.php PERCH_DEFAULT_EXT: .php PERCH_PRODUCTION_MODE: 100 PERCH_XHTML_MARKUP: PERCH_HTML_ENTITIES: PERCH_STRIPSLASHES: PERCH_PROGRESSIVE_FLUSH: 1 PERCH_PARANOID: PERCH_FORCE_SECURE_COOKIES: PERCH_DEFAULT_BUCKET: default PERCH_TRANSLATION_ASSIST: PERCH_PASSWORD_MIN_LENGTH: 6 PERCH_MAX_FAILED_LOGINS: 10 PERCH_AUTH_LOCKOUT_DURATION: 1 HOUR PERCH_VERIFY_UPLOADS: PERCH_PRIV_ASSIST: PERCH_CUSTOM_EDITOR_CONFIGS: PERCH_ENABLE_EXIF: 1 PERCH_AUTH_PLUGIN: PERCH_DB_CHARSET: utf8 PERCH_DB_PORT: PERCH_DB_SOCKET: PERCH_SHOP_VERSION: 1.2.5 PERCH_APPS_EDITOR_PLUGIN: markitup PERCH_APPS_EDITOR_MARKUP_LANGUAGE: markdown Hosting settings PHP: 7.1.10 Zend: 3.1.0 OS: Linux SAPI: cgi-fcgi Safe mode: not detected MySQL client: mysqlnd 5.0.12-dev - 20150407 - $Id: b396954eeb2d1d9ed7902b8bae237b287f21ad9e $ MySQL server: 5.6.34-log Free disk space: 51.71 GB Extensions: Core, date, libxml, pcre, sqlite3, filter, mbstring, SPL, PDO, Reflection, pdo_sqlite, hash, session, cgi-fcgi, bcmath, bz2, calendar, ctype, curl, dom, standard, ftp, gd, gettext, exif, iconv, imap, json, mcrypt, mysqlnd, openssl, pcntl, pdo_mysql, posix, pspell, mysqli, SimpleXML, soap, sockets, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib, imagick, memcached, Zend OPcache GD: Yes ImageMagick: Yes PHP max upload size: 64M PHP max form post size: 65M PHP memory limit: 90M Total max uploadable file size: 64M Resource folder writeable: Yes Session timeout: 24 minutes Native JSON: Yes Filter functions: Yes Transliteration functions: No PATH: /usr/local/bin:/usr/bin:/bin REDIRECT_HANDLER: php5-cgi REDIRECT_STATUS: 200 UNIQUE_ID: Wjq@CkBvd3YAAFyUd8AAAAAD SCRIPT_URL: /perch/core/settings/diagnostics/ SCRIPT_URI: https://mcht.lewisarts.com/perch/core/settings/diagnostics/ HTTPS: on SSL_TLS_SNI: mcht.lewisarts.com HTTP_HOST: mcht.lewisarts.com HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 HTTP_CONNECTION: keep-alive HTTP_COOKIE: PHPSESSID=c69b533e9160de65a02ad00e2d3d7623; cmsa=1; __utma=258361879.1576757239.1496341292.1497966389.1504625877.4; __utmz=258361879.1496341292.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none) HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/604.4.7 (KHTML, like Gecko) Version/11.0.2 Safari/604.4.7 HTTP_ACCEPT_LANGUAGE: en-us HTTP_REFERER: https://mcht.lewisarts.com/perch/core/settings/diagnostics/ HTTP_ACCEPT_ENCODING: br, gzip, deflate SERVER_SOFTWARE: Apache SERVER_NAME: mcht.lewisarts.com SERVER_ADDR: 64.111.119.118 SERVER_PORT: 443 REMOTE_ADDR: 71.233.175.185 DOCUMENT_ROOT: /home/mcht_deploy/mcht.lewisarts.com SERVER_ADMIN: webmaster@mcht.lewisarts.com SCRIPT_FILENAME: /home/mcht_deploy/mcht.lewisarts.com/perch/core/settings/diagnostics/index.php REMOTE_PORT: 45939 REDIRECT_QUERY_STRING: extended REDIRECT_URL: /perch/core/settings/diagnostics/index.php GATEWAY_INTERFACE: CGI/1.1 SERVER_PROTOCOL: HTTP/1.1 REQUEST_METHOD: GET QUERY_STRING: extended REQUEST_URI: /perch/core/settings/diagnostics/?extended SCRIPT_NAME: /perch/core/settings/diagnostics/index.php ORIG_SCRIPT_FILENAME: /dh/cgi-system/php71.cgi ORIG_PATH_INFO: /perch/core/settings/diagnostics/index.php ORIG_PATH_TRANSLATED: /home/mcht_deploy/mcht.lewisarts.com/perch/core/settings/diagnostics/index.php ORIG_SCRIPT_NAME: /cgi-system/php71.cgi PHP_SELF: /perch/core/settings/diagnostics/index.php REQUEST_TIME_FLOAT: 1513799178.2964 REQUEST_TIME: 1513799178
Monty Lewis

Monty Lewis 2 points

  • 3 years ago

remove this line in htaccess...

RewriteCond %{REQUEST_FILENAME} !-d

mcht... hmmmm ;-)

:)

That worked, Robert. Thanks!

But I'm wondering why....

-- Monty

Because it does... lol

:)

I have not a good answer for that...