Home >Backend Development >PHP Tutorial >yaf框架中modules下的目录,配置二级域名

yaf框架中modules下的目录,配置二级域名

WBOY
WBOYOriginal
2016-06-06 20:28:532659browse

yaf框架中modules中admin,设置二级域名
**
![图片上传中...]yaf框架中modules下的目录,配置二级域名
**

我想设置app.test.com,mobile.test.com,seller.test.com,请问怎么在yaf框架中怎么配置?

回复内容:

yaf框架中modules中admin,设置二级域名
**
![图片上传中...]yaf框架中modules下的目录,配置二级域名
**

我想设置app.test.com,mobile.test.com,seller.test.com,请问怎么在yaf框架中怎么配置?

需要在nginx里做URL重写,当访问app.test.com时,rewrite ^/(.*) /index.php/app/$1 last;

楼上的此方法不好似 经过多方面测试

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn