在Symfony的1.4动态子域动态、Symfony

2023-09-02 01:16:02 作者:青柠

我想创建在.htaccess动态的子域。 我想是这样的:

  http://ladygaga.koncert.com  - > http://koncert.com/concerts/ladygaga
 

在symfony的博客解决方案

短剑wallsmith发表的东西,关于sf1.2子域的路由。也许这可以帮助你:的http://symfony.com/blog/call-the-expert-adding-subdomain-requirements-to-routing-yml

I am trying to create dynamic subdomains in .htaccess. I want something like this:

http://ladygaga.koncert.com  --> http://koncert.com/concerts/ladygaga
米哈游消弱砂糖让温迪卡池流水大涨 1.4活动弓堪称原神最垃圾

解决方案

kris wallsmith published something in the symfony blog, about subdomain routing in sf1.2. maybe this helps you: http://symfony.com/blog/call-the-expert-adding-subdomain-requirements-to-routing-yml

 
精彩推荐
图片推荐