The url is /mvc/public/
which is begin and end with a slash, so the regex doesn’t match.
Fixed with:
"/^\/(?P<controller>[a-z-]+)\/(?P<action>[a-z-]+)\/$/"
CLICK HERE to find out more related problems solutions.
The url is /mvc/public/
which is begin and end with a slash, so the regex doesn’t match.
Fixed with:
"/^\/(?P<controller>[a-z-]+)\/(?P<action>[a-z-]+)\/$/"
CLICK HERE to find out more related problems solutions.