【发布时间】:2014-12-19 06:31:58
【问题描述】:
我正在学习如何在我的 apache2 服务器上创建一个虚拟主机,在我的 *-vhost.conf 中我有以下属性:
ServerName:
ServerAlias
Alias
DocumentRoot -> Points to where the project files are...?
CustomLog -> Points to where my customLog file is..?
ErrorLog -> Points to Apache2 error Log..?
DirectoryIndex:
BrowserMatch:
DeflateFilterNote:
LogFormat:
CustomLog: Decleared 2 times but different path...?
Options:
SetEnv:
SetEnvIfNoCase:
谁能用最蹩脚的话解释这些,我当然用谷歌搜索了这些,但我找不到简单的答案......
我想了解的主要属性及其用途是:
ServerName
ServerAlias
Alias
DocumentRoot
【问题讨论】:
-
那是因为没有一个简单的答案。花几个小时阅读和尝试各种事情是无可替代的。你结尾的四个属性可能是最容易理解的。如果你不明白他们在apache site 上的解释方式,我不确定这里的任何人都能帮助你
标签: apache