Project

General

Profile

Actions

Feature #101996

open

Static routes should be able to call custom PHP Implementations

Added by Philipp Wrann about 1 year ago. Updated 11 months ago.

Status:
New
Priority:
Should have
Assignee:
Category:
Site Handling, Site Sets & Routing
Start date:
2023-09-21
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Just like you can configure a custom errorHandler it should be possible to register a custom route handler. At the moment you would always have to call another page, that is configured in a way it returns the desired response. But if you want to provide a custom sitemap index or a dynamically generated robots.txt it would be much more intuitive if i could configure the static route with a custom php request handler.


Files

Actions

Also available in: Atom PDF