Apache HTTP最新官方配置(中译版[3])[2]

[入库:2005年8月18日] [更新:2007年3月25日]

本文简介:选择自 bigball 的 blog

#如果你没有注册dns名字,请在这里输入ip地址。

你可以在任何情况下使用ip地址,这也使用得重定向变得敏感

servername www.moers.com:80

 

#

# usecanonicalname: determines how apache constructs self-referencing

# urls and the server_name and server_port variables.

# when set "off", apache will use the hostname and port supplied

# by the client.  when set "on", apache will use the value of the

# servername directive.

#usecanonicalname:决定apaceh如何构建自定参考url,server_nameserver_port变量

当设为off时,apache将使用客户端给出的域名和端口。当设为on时,apache将使用servername指令

usecanonicalname off

 

#

# documentroot: the directory out of which you will serve your

# documents. by default, all requests are taken from this directory, but

# symbolic links and aliases may be used to point to other locations.

#documentroot:服务器文档放置目录。在默认情形下,所有的请求都从这里开始,除了记号和别名将改指它处以外。

本文关键:Apache HTTP最新官方配置(中译版[3])
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top