-1
でのSymfony 3で複数のウェブサイトを作る私はいくつかのケースでは、このような同じルーティングとsymfonyでマルチサイト管理を行うことを試みた:どのように同じルート
fos_user:
resource:"@FOSUserBundle/Resources/config/routing/all.xml"
fos_js_routing:
resource:"@FOSJsRoutingBundle/Resources/config/routing/routing.xml"
admin_site:
resource:"@AppBundle/Controller/Admin"
type: annotation
site_1:
resource:"@AppBundle/Controller"
type: annotation
host: www.site1.com
site_2:
resource:"@AppBundle/Controller"
type: annotation
host: www.site2.com
site_2:
resource:"@AppBundle/Controller/Site2Addon"
type: annotation
host: www.site2.com
しかし、それは動作しません。最後の設定で上書きされます。