在Symfony的1.4动态子域 [英] dynamic subdomains in Symfony 1.4

查看:429
本文介绍了在Symfony的1.4动态子域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建在.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

这篇关于在Symfony的1.4动态子域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆