Laravel 3 and 4 in the same domain

60 Views Asked by At

We have a current API service running in Laravel 3, now we are developing a new API using Laravel 4.

We want to use the same domain for both applications.

Example:

http://api.domain.com/v1   --> /var/www/api.domain.com/htdocs/v1/public
http://api.domain.com/v2   --> /var/www/api.domain.com/htdocs/v2/public

What is the best way to accomplish this issue?

0

There are 0 best solutions below