Answer the question
In order to leave comments, you need to log in
Silex - opens only index. Why?
I am doing the first deployment of the project on Silex.
All loaded. Access to a DB configured. Errors won, index is displayed.
But I ran into the following problem: Other pages do not open, only index.
An example of a problematic controller:
$app->match('/add/{flat_id}', function (Request $request, $flat_id) use ($app) {
...
})
->bind('add')
Answer the question
In order to leave comments, you need to log in
I would first look at the web server settings. For example, you have Apache locally with .htaccess, and Nginx on the server.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question