Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们有一个当前在 Laravel 3 中运行的 API 服务,现在我们正在使用 Laravel 4 开发一个新的 API。
我们希望为两个应用程序使用相同的域。
例子:
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
完成此问题的最佳方法是什么?