Re: Re: [zope-chinese] VHM设置问题

"redame" <redame-9Onoh4P/[email protected]>
Newsgroups gmane.comp.web.zope.chinese
Message-ID <007801c4c308$1295d320$587ba8c0@jxd>
QUOTE:这样的写法可以,通过http://www.example.net/plone就可以访问plone的站点
www.example.net 就是PLONE站点了
大哥你试过吗:
example.net 代理的是localhost:8080/Plone
管理截面永远在localhost:8080/manage
如果EXAMPLE有网站了
那么就用二级域名替换,比如用Plone.example.net替换example.net,需要DNS对EXAMPLE的域名泛指向
我就是这样的
本身我的环境是APACHE,PHP,MYSQL的
装了一个PLONE
现在plone.xvidivx.net 是plone
而不影响任何其他的网站

  ----- Original Message ----- 
  From: 沈涛 
  To: [email protected] 
  Sent: Friday, November 05, 2004 1:59 PM
  Subject: 答复: Re: [zope-chinese] VHM设置问题


  这样的写法可以,通过http://www.example.net/plone就可以访问plone的站点,但是有个问题,zope的那个管理界面看不到了,因为我这里http://www.example.net本身就是另一套网站,这怎么办?用proxypass似乎不能解决这个问题。

  而且用了proxypass这些语句以后,我访问http://www.example.net/cms的时候,系统会进入plone网站并提示“您请求的这个项目在这个服务器上不存在,或者不能提供服务了。”但是其实cms是www.example.net网站下的一个目录,这个目录里有网页的,怎么才能让它也能显示出来?

  总结一下,我觉得我想做的是如何让apache的proxy只转发plone站点,而对其他的基于www.example.net 的请求(如访问www.example.net或www.example.net/cms)视而不见?

   


------------------------------------------------------------------------------

  发件人: redame [mailto:[email protected]] 
  发送时间: 2004年11月4日 18:56
  收件人: [email protected]
  主题: Re: Re: [zope-chinese] VHM设置问题

   

  这个是APACHE,virtualhost

  具体一个设置差不多是这样

  127.0.0.1换成你本地IP

  域名为www.example.net

  端口:8080,换成你的端口。

  zope站点名字就是红色的地方Plone,注意大小写

  替换就可以了

  注意要在ZOPE里边建一个VHM

   

   

  <VirtualHost 127.0.0.1:80>
      ServerAdmin admin@localhost
      ServerAlias example.net www.example.net
      ServerName example.net
      ProxyPass / http://localhost:8080/VirtualHostBase/http/www.example.net:80/Plone/VirtualHostRoot/
      ProxyPassReverse / http://localhost:8080/VirtualHostBase/http/www.example.net:80/Plone/VirtualHostRoot/
      ErrorLog logs/www.example.net-error_log 
      CustomLog logs/www.example.net-access_log common
      <LocationMatch "^[^/]">
        Deny from all
      </LocationMatch>
  </VirtualHost>

   

   

  ----- Original Message ----- 

  From: "jacinth" <[email protected]>

  To: <[email protected]>

  Sent: Thursday, November 04, 2004 5:17 PM

  Subject: Re: Re: [zope-chinese] VHM设置问题

   

  > redame,您好!
  > 
  > 没有其他前后台,只有单独的zope。
  > 
  > ======= 2004-11-04 15:37:57 您在来信中写道:=======
  > 
  > >什么做WEB服务器?
  > >
  > >----- Original Message ----- 
  > >From: "jacinth" <[email protected]>
  > >To: "zope-chinese" <[email protected]>
  > >Sent: Thursday, November 04, 2004 2:27 PM
  > >Subject: [zope-chinese] VHM设置问题
  > >
  > >
  > >> zope-chinese,各位好!
  > >> 
  > >>   我的zope运行在6000端口,下面有好几个站点,我现在想把它们分别的对应它们的域名,不知道该如何写VHM里面的设置,请各位帮个忙,给个例子参考,谢谢!
  > >> 
  > >>         致
  > >> 礼!
  > >>   
  > >> 
  > >>         jacinth
  > >>         [email protected]
  > >>           2004-11-04
  > >> 
  > >
  > >
  > >--------------------------------------------------------------------------------
  > >
  > >
  > >> _______________________________________________
  > >> zope-chinese list
  > >> [email protected]
  > >> http://zope.cn/mailman/listinfo/zope-chinese
  > >> _______________________________________________
  > >zope-chinese list
  > >[email protected]
  > >http://zope.cn/mailman/listinfo/zope-chinese
  > >
  > 
  > = = = = = = = = = = = = = = = = = = = =
  > 
  > 
  >         致
  > 礼!
  >  
  > 
  >         jacinth
  >         [email protected]
  >           2004-11-04
  > 
  > 


------------------------------------------------------------------------------

  > _______________________________________________
  > zope-chinese list
  > [email protected]
  > http://zope.cn/mailman/listinfo/zope-chinese
  > 



------------------------------------------------------------------------------


  _______________________________________________
  zope-chinese list
  [email protected]
  http://zope.cn/mailman/listinfo/zope-chinese

_______________________________________________
zope-chinese list
[email protected]
http://zope.cn/mailman/listinfo/zope-chinese
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.