typo3 - No suitable request handler found -


i try redirect via typoscript when condition apply. like:

[globalstring = ienv:request_uri = /page/]    config >    config.additionalheaders = location: /somepage/ [global] 

but error „no suitable request handler found“. why?

most because clear entire config. object leaves typo3 pretty incapable of processing request, or because config.additionalheaders array , convert string (precisely, because ts, change type of object location: /somepage). see https://docs.typo3.org/typo3cms/typoscriptreference/7.6/setup/config/index.html#additionalheaders further information on how add custom headers.

may suggest instead configure such rules in virtual host configuration or .htaccess file? safer , more efficient solution when concerns redirects!


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -