我想创建在.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
解决方案
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