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?