i'm facing an issue i don't really know how to solve. I have this route:
www.mysite.com/news/{news}
On my local machine, i don't have a problem accessing it, but on the live-server a trailing slash gets added, and ofc the route doesn't exist = error.
Why does this slash get added? How to prevent it? Other routes work fine, no "/" added there. This ONLY happens in app.php ...app_dev.php works fine.
I've tried to remove the trailing slash via mod_rewrite, but then another route doesn't work. ( The FOSUserBundle /register one ....).
Does anyone know, why there's a trailing slash on the live-server, but not on my local machine? Same .htacces and 000-default.conf. And as stated above app_dev.php works fine as well.
Regards