as service, want access image inside of "web/uploads". when i'm trying that, it's returning:
no route found "get /web/uploads/"
but want access image inside directory. i'm uploading images , need load them externally. light this? thanks.
/web/
directory (public) document root, it's place domain points.
assuming e.g. have virtual host example.lc
points /path/to/project/web/
, instead of requesting:
you should try with:
when you're trying access:
webserver looks /path/to/project/web/web/uploads
, , since path doesn't exist, rewrites url app.php
symfony application entry point.
Comments
Post a Comment