返回列表 发帖
哦也。。。。拿到了。。不过!看不懂ing.....找了几个目录都不对。。求救!

省略废话一大堆后:如下!

module-specific configurations # Include conf/ssl.conf ### Section 3: Virtual Hosts # # VirtualHost: If you want

to maintain multiple domains/hostnames on your # machine you can setup VirtualHost containers for them. Most

configurations # use only name-based virtual hosts so the server doesn't need to worry about # IP addresses.

This is indicated by the asterisks in the directives below. # # Please see the documentation at # # for further

details before you try to setup virtual hosts. # # You may use the command line option '-S' to verify your

virtual host # configuration. # # Use name-based virtual hosting. # #NameVirtualHost *:80 NameVirtualHost

172.28.1.70 ServerName localhost ServerAdmin info@lonely.cn DocumentRoot /usr/httpd ServerAdmin info@lonely.cn

DocumentRoot /usr/httpd/lonely ServerName www.lonely.cn ServerAlias lonely.cn www.lonely.cn lonely.cn lonely.org

ServerAdmin info@lonely.cn DocumentRoot /usr/httpd/lpsgsj ServerName lps.lonely.cn ServerAlias lps.lonely.cn

ServerAdmin info@lonely.cn DocumentRoot /usr/httpd/meitangsj ServerName meitan.lonely.cn ServerAlias

meitan.lonely.cn DirectoryIndex Default.htm index.html ServerAdmin info@lonely.cn DocumentRoot /usr/httpd/js

ServerName js.lonely.cn DirectoryIndex Default.htm index.html ServerAdmin info@lonely.cn DocumentRoot

/usr/httpd/go ServerName go.lonely.cn # # ServerAdmin info@lonely.cn # DocumentRoot /usr/httpd/test # ServerName

test.lonely.cn # # # VirtualHost example: # Almost any Apache directive may go into a VirtualHost container. #

The first VirtualHost section is used for requests without a known # server name. # # # ServerAdmin

webmaster@dummy-host.example.com # DocumentRoot /www/docs/dummy-host.example.com # ServerName dummy-

host.example.com # ErrorLog logs/dummy-host.example.com-error_log # CustomLog logs/dummy-host.example.com-

access_log common #

帮忙看看。。。谢谢!Web路径,我试了几个都不对!成功的男人白天瞎JB忙,晚上JB瞎忙;失败的男人白天没啥鸟事,晚上鸟没啥事。

帖子428 精华12 积分4620 阅读权限100 性别男 来自云南 在线时间172 小时 注册时间2006-2-7 最后登录2008-7-16 查看个人网站
查看详细资料引用 报告 回复 TOP

寂寞宝贝
荣誉会员

TOP

返回列表