{"id":27078928,"url":"https://github.com/netlogix/netlogix.errorhandler","last_synced_at":"2026-03-01T23:03:25.249Z","repository":{"id":37919713,"uuid":"175263787","full_name":"netlogix/Netlogix.ErrorHandler","owner":"netlogix","description":"Create static Neos error pages from documentNodes","archived":false,"fork":false,"pushed_at":"2025-09-17T07:47:43.000Z","size":67,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-12-25T11:03:51.827Z","etag":null,"topics":["error-handling","neos","neoscms"],"latest_commit_sha":null,"homepage":"https://websolutions.netlogix.de","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/netlogix.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-03-12T17:25:59.000Z","updated_at":"2025-09-17T07:45:25.000Z","dependencies_parsed_at":"2024-11-08T12:17:29.058Z","dependency_job_id":"aa6bd965-21b4-4488-9bcf-00e6d1a38c40","html_url":"https://github.com/netlogix/Netlogix.ErrorHandler","commit_stats":{"total_commits":22,"total_committers":3,"mean_commits":7.333333333333333,"dds":0.09090909090909094,"last_synced_commit":"d65f5054cf4cf0f386e459fd72aad95562daa977"},"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/netlogix/Netlogix.ErrorHandler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netlogix%2FNetlogix.ErrorHandler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netlogix%2FNetlogix.ErrorHandler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netlogix%2FNetlogix.ErrorHandler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netlogix%2FNetlogix.ErrorHandler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/netlogix","download_url":"https://codeload.github.com/netlogix/Netlogix.ErrorHandler/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netlogix%2FNetlogix.ErrorHandler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29987656,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T22:42:38.399Z","status":"ssl_error","status_checked_at":"2026-03-01T22:41:51.863Z","response_time":124,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["error-handling","neos","neoscms"],"created_at":"2025-04-06T01:20:03.496Z","updated_at":"2026-03-01T23:03:25.225Z","avatar_url":"https://github.com/netlogix.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Netlogix ErrorHandler for Neos\n\nThis package allows you to generate static error pages by using the content of Neos pages. These static files will\nbe used for error handling in Flow \u0026 Neos depending on their configuration.\n\nYou can also use these files as ErrorDocument in your webserver.\n\n## Install package\n`composer require netlogix/errorhandler`\n\n## Configuration\n\n### Option 1: Add error pages manually as document nodes.\n\nCreate a custom document node, which uses the\n`Netlogix.ErrorHandler.NodeTypes:Mixin.ErrorPage` mixin.\n\nEvery child page of this error page as well as child pages of siblings of\nthis error age are covered by this error page.\n\nEvery error counts for its exact dimension and for the error codes configured\nwithin that page node.\n\nA dynamic error page is omitted, if no error code is assigned.\n\nThere still needs to be a storage folder where cached error pages will be\nplaced.\n\n```yaml\nNetlogix:\n  ErrorHandler:\n\n    # File path where this error page should be saved to. Available variables are `site`, `dimensions` and `node`.\n    destination: '${\"/var/www/default/\" + site + \"/\" + dimensions + \"/\" + node + \".html\"}'\n```\n\n### Option 2: Provide error pages via yaml\n\nProvide configuration for every site and status code you need:\n\n```yaml\nNetlogix:\n  ErrorHandler:\n    pages:\n      # siteNodeName of all Sites that you want to generate error pages for\n\n      'my-site-without-dimensions':\n        -\n          # The status codes this error page is generated for\n          matchingStatusCodes: [404, 410]\n\n          # Dimensions to use for this error page. Use empty array if no dimensions are configured\n          dimensions: []\n\n          # Node identifier of documentNode to use for rendering\n          source: '#550e8400-e29b-11d4-a716-446655440000'\n\n          # File path where this error page should be saved to. Available variables are `site` and `dimensions`\n          destination: '${\"/var/www/default/mysite/errorpages/404.html\"}'\n\n        -\n          # You can also configure path prefixes so some site areas have different error pages. Make sure to adjust the destination path accordingly.\n          pathPrefixes: ['/some-special-path']\n\n          # The status codes this error page is generated for\n          matchingStatusCodes: [404, 410]\n\n          # Dimensions to use for this error page. Use empty array if no dimensions are configured\n          dimensions: []\n\n          # Node identifier of documentNode to use for rendering\n          source: '#f7c8d757-391a-4a85-bdb5-81df56d5e2c0'\n\n          # File path where this error page should be saved to. Available variables are site and dimensions\n          destination: '${\"/var/www/default/mysite/errorpages/404-some-special-path.html\"}'\n\n      'my-site-with-dimensions':\n        -\n          matchingStatusCodes: [500]\n\n          # The first path segment that determines the dimensions. Use empty string if no dimensions are configured\n          dimensionPathSegment: 'en_US'\n\n          # Dimensions to use for this error page. Use empty array if no dimensions are configured\n          dimensions:\n            language: ['en_US', 'en']\n\n          source: '#550e8400-e29b-11d4-a716-446655440000'\n          destination: '${\"%FLOW_PATH_DATA%Persistent/ErrorPages/\" + site + \"-\" + dimensions + \"-500.html\"}'\n```\n\n## Generate error pages\n\nTo generate the static error pages, run the following Flow command:\n\n```bash\n./flow errorpage:generate --verbose\n```\n\nThis will loop all error pages and download them to their destination. Depending on how\noften the content of the configured Neos pages changes, you might want to do this during deployment\nor periodically using a cronjob.\n\n## Show current configuration\n\n```bash\n./flow errorpage:showconfiguration\n```\n\nThis call responds in YAML format, although not all settings are actually\ngiven in YAML settings. Instead, the result will be the merged result of both,\nYAML configuration and node based configuration.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetlogix%2Fnetlogix.errorhandler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetlogix%2Fnetlogix.errorhandler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetlogix%2Fnetlogix.errorhandler/lists"}