D
D
DarkByte20152017-03-03 09:13:28
Apache HTTP Server
DarkByte2015, 2017-03-03 09:13:28

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 question

Ask a Question

731 491 924 answers to any question