【问题标题】:Laravel - how to run multiple laravel application on single iis serverLaravel - 如何在单个 iis 服务器上运行多个 laravel 应用程序
【发布时间】:2017-01-23 10:57:50
【问题描述】:

我目前正在使用 IIS 服务器在 laravel 上运行一个网站。我想在同一台服务器上同时运行另一个应用程序(网站)。如何在同一台服务器上同时运行多个应用程序?

我正在使用php,请你解释一下我如何在php中做到这一点

【问题讨论】:

标签: php laravel iis


【解决方案1】:

您可以使用类似的域路由

Route::group(['domain' => 'exampledomain.com'], function() {

your routes for this domain here.

});

Route::group(['domain' => 'exampledomain2.com'], function() {

your routes for this domain here.

});`

【讨论】:

    猜你喜欢
    • 2015-09-25
    • 2016-07-13
    • 1970-01-01
    • 2019-04-12
    • 1970-01-01
    • 2018-05-23
    • 2017-02-10
    • 2021-09-22
    • 1970-01-01
    相关资源
    最近更新 更多