I have a script written in Laravel, which returns information about git repositories in JSON. I've set it on some server, however the URL looks like this:
and I would love to get it like this:
I've tried using
.htaccess, but I don't know how to use it not to redirect a client to a directory that not exists (have 404 right now, because there is no such directory like /repositories in main catalog).
Could you please advise me how could I do it?