Laravel: Duplicate project in same directory

0

Good morning everyone! I have a laravel API on a server in the /www/var/html/api1 folder, for second reason I have to build another API on the same server, so I duplicated the one I had to facilitate /www/var/html/api2 .

So far so good, just that when I was simulating a POST in api2, it is always redirected to api1, I do not understand very well about routes and I do not know if apache has anything to do with it. Does anyone have any idea what it might be doing that any request I send to this server is handled by api1?

I tried to create a single file in the folder /www/var/html/ and call it, opened a page of laravel informing the page you are looking for could not be found.

    
asked by anonymous 17.12.2018 / 11:54

0 answers