Postings by Anke.Wienecke

webserver configuration to redirect correctly API calls


I have to admit that I am a total amateur concerning apache and its configuration. However, I am in the need to do so. In order to use an API to add data into an application which is running in apache2 I need to set a redirection.

Everything what I found by now does not really help me, probably also as I do not know the syntax in detail and which files are really important.

I have the Info how this redirection works in Nginx:
location ~ ^/api/v1/(.*)/?$ {
rewrite /api/v1/(.*)$ /app/controllers/ApiController.php?req=$1?