Home > Backend Development > PHP Tutorial > 关于DISCUZ二级域名的绑定原理

关于DISCUZ二级域名的绑定原理

WBOY
Release: 2016-06-23 14:17:41
Original
1016 people have browsed it

想问一下各位大虾

关于DISCUZ可以在后台设置二级域名绑定到相关栏目上

请教DISCUZ是用什么方式来实现二级域名功能的呢,是URL映射重写 还是什么方式呢

请指教 感谢


回复讨论(解决方案)

这个当然的需要你研究一下他的入口代码了

仅从 可以在后台设置二级域名绑定到相关栏目上 上看
可以想象只是解析了 $_SERVER['HTTP_HOST'] 就可实现的

这个你得去读读源码了!

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template