Intermediate route optional parameters in Symfony 2
问题 Problem to solve Is it possible in Symfony 2, define routes with ' intermediate ' optional parameters. I'll use other question data, for supporting me using the same style, for example: localhost /param 1/param 2/param 3/param 4 Example localhost /param 1/param 4 localhost /param 2/param 4 Because I have a problem where none of my parameters should be mandatory, and different logics come into play, subordinated to those activated parameters. Until now if I don't set like this: - localhost