Apache的使用

DirectoryIndex default.htm
DirectoryIndex default.asp
DirectoryIndex index.html
DirectoryIndex index.htm
DirectoryIndex index.asp
DirectoryIndex index.php

#上面的这个是定义默认页

#天宜电器

ServerAdmin admin@ty.nd
DocumentRoot D:测试网站天宜电器
ServerName www.xxx.nd
ErrorLog logs/dummy-host.example.com-error_log
CustomLog logs/dummy-host.example.com-access_log common
#这个是定义一个网址,www.xxx.nd 这个域名在我的机子上有解析

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理

相关文章

开始在上面输入您的搜索词,然后按回车进行搜索。按ESC取消。

返回顶部