symfony - Symfony2, Trailing slash -
i'm facing issue don't know how solve. have route:
www.mysite.com/news/{news}
on local machine, don't have problem accessing it, on live-server trailing slash gets added, , ofc route doesn't exist = error.
why slash added? how prevent it? other routes work fine, no "/" added there. happens in app.php ...app_dev.php works fine.
i've tried remove trailing slash via mod_rewrite, route doesn't work. ( fosuserbundle /register 1 ....).
does know, why there's trailing slash on live-server, not on local machine? same .htacces , 000-default.conf. , stated above app_dev.php works fine well.
regards
Comments
Post a Comment