Home > Backend Development > PHP Tutorial > php 二级域名 .htaccess,该怎么处理

php 二级域名 .htaccess,该怎么处理

WBOY
Release: 2016-06-13 12:18:09
Original
1054 people have browsed it

php 二级域名 .htaccess
想实现 访问 
ex.adc.com       访问 ex 目录  
www.adc.com  访问www目录


.htaccess怎么写。
需要其他不,
------解决思路----------------------
在apache中設置virtual host就可以了。

apache中搭建虚拟主机。
http://blog.csdn.net/fdipzone/article/details/8762507

Related labels:
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