Routing fails on Apache Webserver

Questions around the TYPO3 integration and plugins as well as Flow and NeosCMS
Forum rules
Always add your TYPO3/Flow, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
User avatar
chvonrohr
Posts: 5
Joined: 16 Jul 2019, 10:14

Routing fails on Apache Webserver

Post by chvonrohr » 29 Aug 2019, 08:24

I integrated the Aimeos Shop in my NEOS site and finally wanted to deploy it to the live server. The admin interface is secured by Policy.yaml as described here: https://github.com/aimeos/aimeos-flow/issues/16

On the final system, I recognized routing issues in the admin interface, where encoded slashes are part of the url, e.g. (%2f):
https://abc.de/anypath/locale%2fcurrency?lang=en
-> leads to a "Not found" page

After some research, I found out that Apache does not allow this by default, but needs the setting "AllowEncodedSlashes" set to "On". As my hoster doesn't allow this and this can't be set in the .htaccess file, my question if there is any workaround?


--
Also queries to the jsonadm end in a 403 (Forbidden), but I guess this is something different related to a CORS problem not handled by the Flow Wrapper,

User avatar
aimeos
Administrator
Posts: 3311
Joined: 01 Jan 1970, 00:00

Re: Routing fails on Apache Webserver

Post by aimeos » 30 Aug 2019, 07:33

Don't know if this is the remedy. That Apache configuration option is off by default and there are Flow installations that are running on Apache without. You can try a workaround and add Flow routes that encode slashes differently.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply