Apache 配置问题

WBOY
Release: 2016-06-06 20:48:53
Original
1117 people have browsed it

用php开发一个web项目,通常情况下,只是Directory指定到项目目录就可以了。 请问一下,这个Directory 与 VirtualHost 的区别与联系。

回复内容:

用php开发一个web项目,通常情况下,只是Directory指定到项目目录就可以了。 请问一下,这个Directory 与 VirtualHost 的区别与联系。

VirtualHost 是虚拟主机,就是使用不同的域名访问到的是不同的站点。Directory 指定特定的 URL 路径做怎样的处理。它们属于不同的层次。

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!