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 -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -