I have added ckeditor to offer a nice WYSIWYG editor to my user. To allow them to upload pictures directly into this editor, I've installed kcfinder. I've put the following lines in my ckeditor's config :
config.filebrowserBrowseUrl = 'ckeditor/plugins/kcfinder/browse.php?type=files';
config.filebrowserImageBrowseUrl = 'ckeditor/plugins/kcfinder/browse.php?type=images';
config.filebrowserFlashBrowseUrl = 'ckeditor/plugins/kcfinder/browse.php?type=flash';
config.filebrowserUploadUrl = 'ckeditor/plugins/kcfinder/upload.php?type=files';
config.filebrowserImageUploadUrl = 'ckeditor/plugins/kcfinder/upload.php?type=images';
config.filebrowserFlashUploadUrl = 'ckeditor/plugins/kcfinder/upload.php?type=flash';
My problem : when I try to browse files on the server with kcfinder, Symfony tells me that there is no routes for "GET /admin/news_post_admin/ckeditor/plugins/kcfinder/browse.php". It looks like it tries to reach browse.php from my controller, which is not correct.
Any ideas how I could make Symfony find the correct path of browse.php ?