Home  >  Article  >  Backend Development  >  php如何编写子目录绑定域名

php如何编写子目录绑定域名

WBOY
WBOYOriginal
2016-06-13 13:27:041243browse

php怎么编写子目录绑定域名
php怎么编写子目录绑定域名 比如/baidu 绑定www.baidu.com 这样的编写该如何着手 我有自己的服务器

------解决方案--------------------
URL重写,你是虚拟主机吧,在.htaccess里重写一下就行了.

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