二级目录怎么配置?救命啊!高手帮帮我!
时间:2009-04-16
来源:互联网
现在我是使用apacth+pound在linux下配置的.
我在
___________________________
apacth中写的是
#todoshare
listen 3010
<VirtualHost *:3010>
# ServerName todoshare.a-it.cn
DocumentRoot /home/rails/todoshare/public
<Directory />
Options FollowSymLinks
AllowOverride None
Allow from all
</Directory>
</VirtualHost>
________________________
在pound中写的是
#todoshare
Service
HeadRequire "Host: todoshare.a-it.cn"
BackEnd
Address 192.168.1.10
Port 3010
End
End
我的问题是,我现在想把todoshare.a-it.cn域名变列为todoshare.a-it.cn/todoshare
访问
救命啊,我不会.高手帮帮我啊.
我在
___________________________
apacth中写的是
#todoshare
listen 3010
<VirtualHost *:3010>
# ServerName todoshare.a-it.cn
DocumentRoot /home/rails/todoshare/public
<Directory />
Options FollowSymLinks
AllowOverride None
Allow from all
</Directory>
</VirtualHost>
________________________
在pound中写的是
#todoshare
Service
HeadRequire "Host: todoshare.a-it.cn"
BackEnd
Address 192.168.1.10
Port 3010
End
End
我的问题是,我现在想把todoshare.a-it.cn域名变列为todoshare.a-it.cn/todoshare
访问
救命啊,我不会.高手帮帮我啊.
作者: jamsnowman 发布时间: 2009-04-16
急啊.
作者: jamsnowman 发布时间: 2009-04-16
这个是泛解析啊.
看一下 Valias 之类的
看一下 Valias 之类的
作者: londit.cn 发布时间: 2009-04-22
NameVirtualHost 60.217.42.132:80
<VirtualHost *>
ServerName www.mysun.org
ServerAdmin [email protected]
DocumentRoot /var/www/mysun
</VirtualHost>
<VirtualHost *>
ServerName lg.mysun.org
ServerAdmin [email protected]
DocumentRoot /var/www/lg
</VirtualHost>
<VirtualHost *>
ServerName nokia.mysun.org
ServerAdmin [email protected]
DocumentRoot /var/www/nokia
</VirtualHost>
<VirtualHost *>
ServerName www.mysun.org
ServerAdmin [email protected]
DocumentRoot /var/www/mysun
</VirtualHost>
<VirtualHost *>
ServerName lg.mysun.org
ServerAdmin [email protected]
DocumentRoot /var/www/lg
</VirtualHost>
<VirtualHost *>
ServerName nokia.mysun.org
ServerAdmin [email protected]
DocumentRoot /var/www/nokia
</VirtualHost>
作者: mengshan 发布时间: 2009-04-25
楼上的写的那个好像是WINdows下的吧,基于名字的虚拟,在LINUX下也一样吗?
作者: jiehuangwei 发布时间: 2009-04-29
windows 和LINUX配置应是一样的
作者: verywebsite 发布时间: 2009-05-04
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28