A
A
Artem2016-11-10 15:28:47
PHP
Artem, 2016-11-10 15:28:47

How to set up routes in Silex for images?

Hello.
Question for understanding. I can't enter. I'm trying to upload an image at server.com/images/image.jpg. But all routing goes through silex and, accordingly, when requesting at /images/image.jpg, there is no such handler and the picture is not returned. How to do it smartly? Somehow cleverly handle the /image route or set up .htaccess or something else? I can't enter.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim, 2016-11-10
@pudovMaxim

This should be the responsibility of the server, not Silex. Web server setup

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question