Forum

Thread tagged as: Problem, Error, Runway

non www working, but www gives 403

I just put fixtel.nl online, but when I visit www.fixtel.nl the website gives a 403 and I have no idea what I did wrong or what missed.

Any common issues? DNS is just fine.

Kevin Hendriks

Kevin Hendriks 0 points

  • 4 years ago

Perch information

Perch Runway: 3.0.9 Production mode: Production (100) Installed apps: content (3.0.9), assets (3.0.9), categories (3.0.9), perch_forms (1.9.1) DB driver: PDO DB tables: perch3_backup_plans (1), perch3_backup_resources (0), perch3_backup_runs (0), perch3_categories (14), perch3_category_counts (0), perch3_category_sets (7), perch3_collection_index (77621), perch3_collection_items (1249), perch3_collection_revisions (214), perch3_collections (24), perch3_content_index (3623), perch3_content_items (1252), perch3_content_locks (0), perch3_content_regions (321), perch3_forms (4), perch3_forms_responses (1), perch3_menu_items (9), perch3_navigation (0), perch3_navigation_pages (0), perch3_page_routes (0), perch3_page_templates (52), perch3_pages (256), perch3_resource_log (5650), perch3_resource_tags (0), perch3_resources (1454), perch3_resources_to_tags (0), perch3_settings (23), perch3_user_passwords (0), perch3_user_privileges (32), perch3_user_role_buckets (0), perch3_user_role_privileges (11), perch3_user_roles (2), perch3_users (3) Users: 3 App runtimes: <?php $apps_list = [ 'perch_forms', ]; Scheduled tasks for Backup: plan_1 (10 mins) Editor plug-ins: H1: 14bd11b04417b75c08f597ca36f1af7d L1: f60d998f1920e6df0c576309e798de1a F1: 3b606135b33e6a102526838f4152a807 headerColour: #000000 content_singlePageEdit: 1 helpURL: siteURL: / hideBranding: 1 content_collapseList: 1 lang: nl-nl installedAt: 3.0.4 update_3.0.4: done headerScheme: dark update_runway_3.0.4: done latest_version: on_sale_version: dashboard: 1 hide_pwd_reset: 0 siteOffline: 0 content_hideNonEditableRegions: 0 content_frontend_edit: 1 content_skip_region_list: 0 logoPath: /perch/resources/kendrix-logo.svg update_runway_3.0.9: done keyboardShortcuts: 0 assets_restrict_buckets: 0 PERCH_DEVELOPMENT: 10 PERCH_STAGING: 50 PERCH_PRODUCTION: 100 PERCH_SITEPATH: / PERCH_SCHEDULE_SECRET: YRwsuFoVkYFNoGbE PERCH_DB_USERNAME: fxtlnl_db1 PERCH_DB_SERVER: localhost PERCH_DB_DATABASE: fxtlnl_db1 PERCH_DB_PREFIX: perch3_ PERCH_EMAIL_FROM: info@fixtel.nl PERCH_EMAIL_FROM_NAME: Fixtel PERCH_LOGINPATH: /perch PERCH_PATH: /home/fxtlnl/domains/fixtel.nl/public_html/perch PERCH_CORE: /home/fxtlnl/domains/fixtel.nl/public_html/perch/core PERCH_RESFILEPATH: /home/fxtlnl/domains/fixtel.nl/public_html/perch/resources PERCH_RESPATH: /perch/resources PERCH_HTML5: 1 PERCH_TZ: UTC PERCH_DEBUG: PERCH_SITE_BEHIND_LOGIN: PERCH_EMAIL_METHOD: smtp PERCH_EMAIL_HOST: smtp.gmail.com PERCH_EMAIL_AUTH: 1 PERCH_EMAIL_SECURE: tls PERCH_EMAIL_PORT: 587 PERCH_EMAIL_USERNAME: info@fixtel.nl 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: ab805d13c20751d6975a PERCH_PREVIEW_ARG: preview PERCH_TEMPLATE_PATH: /home/fxtlnl/domains/fixtel.nl/public_html/perch/templates PERCH_TEMPLATE_FILTERS: PERCH_DEFAULT_DOC: index.php PERCH_DEFAULT_EXT: .php PERCH_PRODUCTION_MODE: 100 PERCH_XHTML_MARKUP: PERCH_RWD: 1 PERCH_HTML_ENTITIES: PERCH_SSL: 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_APPS_EDITOR_PLUGIN: markitup PERCH_APPS_EDITOR_MARKUP_LANGUAGE: markdown Hosting settings

PHP: 5.6.31 Zend: 2.6.0 OS: Linux SAPI: apache2handler Safe mode: not detected MySQL client: mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $ MySQL server: 5.5.31 Free disk space: 175.28 GB Extensions: Core, date, ereg, libxml, openssl, pcre, sqlite3, zlib, bcmath, calendar, ctype, curl, dom, fileinfo, filter, ftp, gd, gettext, hash, iconv, intl, json, mbstring, mcrypt, SPL, session, standard, mysqlnd, PDO, pdo_mysql, pdo_sqlite, Phar, posix, Reflection, mysqli, SimpleXML, soap, sockets, mysql, tokenizer, xml, xmlreader, xmlwriter, xsl, zip, apache2handler, mhash, ionCube Loader, Zend Guard Loader GD: Yes ImageMagick: No PHP max upload size: 64M PHP max form post size: 64M PHP memory limit: 128M Total max uploadable file size: 64M Resource folder writeable: Yes Session timeout: 24 minutes Native JSON: Yes Filter functions: Yes Transliteration functions: Yes UNIQUE_ID: WbamtS4VqWgAAHN07-0AAAAH HTTPS: on SSL_TLS_SNI: fixtel.nl HTTP_HOST: fixtel.nl HTTP_CONNECTION: keep-alive HTTP_UPGRADE_INSECURE_REQUESTS: 1 HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36 HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8 HTTP_REFERER: https://fixtel.nl/perch/core/settings/diagnostics/ HTTP_ACCEPT_ENCODING: gzip, deflate, br HTTP_ACCEPT_LANGUAGE: nl-NL,nl;q=0.8,en-US;q=0.6,en;q=0.4 HTTP_COOKIE: __utma=179724083.1621803956.1487315763.1498559832.1499690594.3; __utmz=179724083.1498467279.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); roundcube_sessid=9b9pi9ml64ht3s88t5qodo9mk2; roundcube_sessauth=JchpawhKPQPSIGKBhHJOu8YkeP-1503429900; PHPSESSID=kis32rl1kmbtjn9k028m4h82v4; cmsa=1; _ga=GA1.2.1621803956.1487315763; _gid=GA1.2.1074969678.1505129660 PATH: /sbin:/usr/sbin:/bin:/usr/bin SERVER_SOFTWARE: Apache/2 SERVER_NAME: fixtel.nl SERVER_ADDR: 46.21.169.104 SERVER_PORT: 443 REMOTE_ADDR: 84.81.173.27 DOCUMENT_ROOT: /home/fxtlnl/domains/fixtel.nl/private_html REQUEST_SCHEME: https CONTEXT_DOCUMENT_ROOT: /home/fxtlnl/domains/fixtel.nl/private_html SERVER_ADMIN: webmaster@fixtel.nl SCRIPT_FILENAME: /home/fxtlnl/domains/fixtel.nl/private_html/perch/core/settings/diagnostics/index.php REMOTE_PORT: 61538 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 PHP_SELF: /perch/core/settings/diagnostics/index.php REQUEST_TIME_FLOAT: 1505142453.321 REQUEST_TIME: 1505142453

Drew McLellan

Drew McLellan 2638 points
Perch Support

Have you checked rewrites are enabled?

This is my htaccess

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

##------Forceer HTTPS verbinding geheel domein------##
RewriteCond %{HTTPS} !=on
RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
##
Drew McLellan

Drew McLellan 2638 points
Perch Support

Right, but is it enabled?

How can I see that?

Drew McLellan

Drew McLellan 2638 points
Perch Support

You should ask your server administrator.

Other sites not using perch work just fine, so this shouldn't be the problem.

mod_rewrite is in the loaded modules of apache, so I suppose this means it's enabled.

Just found out it shows just blank pages on Mozilla Firefox, maybe this has something to do with a root configuration, but I have no idea where to look.

I've had this before, often it was due to missing files from when I pushed it to the server or an error in my config file. Worth looking in your logs to trace the issue.

Thanks for your advice. Did you also had the non www working just fine? I can't figure out why it works fine without the www but not with.

Did you find the problem? I see it's working now!

Not the way I was looking, but now I just redirected the www to the non www. I hope this won't bring any complications, but for now it works!