+ -
当前位置:首页 → 问答吧 → 二级目录怎么配置?救命啊!高手帮帮我!

二级目录怎么配置?救命啊!高手帮帮我!

时间: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
访问


救命啊,我不会.高手帮帮我啊.

作者: jamsnowman   发布时间: 2009-04-16

急啊.

作者: jamsnowman   发布时间: 2009-04-16

这个是泛解析啊.

看一下 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>

作者: mengshan   发布时间: 2009-04-25

楼上的写的那个好像是WINdows下的吧,基于名字的虚拟,在LINUX下也一样吗?

作者: jiehuangwei   发布时间: 2009-04-29

windows 和LINUX配置应是一样的

作者: verywebsite   发布时间: 2009-05-04

热门下载

更多