Answer the question
In order to leave comments, you need to log in
How to set up .htaccess to serve both angular and php from the same host?
I want to make the client-side angular from the same host from which the php backend is distributed. Something like this: there are frontend (with angular) and backend (with php) folders. I want index.html from frontend to be on localhost, and backend to be somewhere around localhost/api. How can you set it up like that? I don't understand how to configure this .htaccess at all. Everywhere it is so difficult to describe it in Google ...
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question