I have to support one old project which uses Yii1. I get very strange behavior. Pretty URL is configured.
When URL doen’t have a trailing slash (e.g. /about or /blog/post/5) everything goes OK (the route is correct and the correct page is displayed). But the same URLs with trailing slash (/about/ or /blog/post/5/) make a wrong route. Disregarding of url I always get the route ‘main/index’ and index page is displayed (not redirected to, but displayed at all URLs with trailing slash).
It seems to be a problem with environment. The same code works well on one VPS, and produces the described problems on another. This is even more strange. PHP version is the same, nginx config the same.
Maybe you are aware of any incompatibilities or denendencies?