Plone 4.1.4站点错误:未找到资源

Plone 4.1.4站点错误:未找到资源,plone,Plone,有点卡住了:(提前谢谢 预期结果: atitlanorganics.com应该呈现我的新plone站点 实际结果: 站点错误:找不到Rource 堆栈: Ubuntu sqeeze/sid Apache 2.2.14 Python 2.6.7(r267:88850,2012年3月12日,20:57:20)[GCC 4.4.3] Plone 4.1.4最近从4.1.3升级 CMF 2.2.5 Zope 2.13.12 PIL 1.1.6 PloneFormgen 1.7.0 产品.旋转木

有点卡住了:(提前谢谢

预期结果:

  • atitlanorganics.com应该呈现我的新plone站点
实际结果:

  • 站点错误:找不到Rource
堆栈:

  • Ubuntu sqeeze/sid
  • Apache 2.2.14
  • Python 2.6.7(r267:88850,2012年3月12日,20:57:20)[GCC 4.4.3]
  • Plone 4.1.4最近从4.1.3升级
  • CMF 2.2.5 Zope 2.13.12
  • PIL 1.1.6
  • PloneFormgen 1.7.0
  • 产品.旋转木马2.1

故障排除: 当我转到:atitlanorganics.com时收到网站“站点错误:未找到资源” 但当我直接连接到plone时效果很好:

当我尝试直接连接到atitlanorganics.com时,我的浏览器中出现以下错误:

> <h2>Site Error</h2> <p>An error was encountered while publishing this
> resource. </p> <p><strong>Resource not found</strong></p> Sorry, the
> requested resource does not exist.<p>Check the URL and try
> again.</p><p><b>Resource:</b> atitlanorganics.com GET</p> <hr
> noshade="noshade"/> <p>Troubleshooting Suggestions</p> <ul> <li>The
> URL may be incorrect.</li> <li>The parameters passed to this resource
> may be incorrect.</li> <li>A resource that this resource relies on may
> be encountering an error.</li> </ul> <p>For more detailed information
> about the error, please refer to the error log. </p> <p>If the error
> persists please contact the site maintainer. Thank you for your
> patience. </p>
Apache错误日志::

> root@li54-28:/var/log/apache2# tail -n 0 -f error.log
> ***No errors
Plone控制台日志::将浏览器定向到atitlanorganics.com时

> shadqudsi@li54-28:~/atitlanorganics.com$ bin/instance fg 2012-03-16
> 21:25:32 INFO ZServer HTTP server started at Fri Mar 16 21:25:32 2012
>         Hostname: 0.0.0.0
>         Port: 40000 2012-03-16 21:25:35 WARNING SecurityInfo Conflicting security declarations for "setText" 2012-03-16 21:25:35
> WARNING SecurityInfo Class "ATTopic" had conflicting security
> declarations
> /home/shadqudsi/buildout-cache/eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/config.py:706:
> UserWarning: The set_schema option of the <requ ire /> directive is
> not supported in Zope 2. Ignored for <class
> 'Products.Carousel.content.carouselbanner.CarouselBanner'>   actions =
> self.handler(context, **args) 2012-03-16 21:25:52 INFO PloneFormGen
> Patching plone.app.portlets ColumnPortletManagerRenderer to not catch
> Retry exceptions 2012-03-16 21:25:53 INFO Zope Ready to handle
> requests
> ***Notice the requests show in the apaches access.log but never in apaches error.log or plones bin/plone fg output
>shadqudsi@li54-28:~/atitlanorganics.com$bin/instance fg 2012-03-16
>21:25:32信息ZServer HTTP服务器于2012年3月16日星期五21:25:32启动
>主机名:0.0.0.0
>端口:40000 2012-03-16 21:25:35警告安全信息“setText”的安全声明冲突2012-03-16 21:25:35
>警告SecurityInfo类“ATTopic”具有冲突的安全性
>声明
>/home/shadqudsi/buildout cache/eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/config.py:706:
>UserWarning:该指令的set_schema选项为
>Zope 2中不支持。忽略了'Products.Carousel.content.carouselbanner.carouselbanner'>操作'=
>self.handler(上下文,**参数)2012-03-1621:25:52信息PloneFormGen
>正在修补plone.app.portlets ColumnPortletManagerRenderer以使其无法捕获
>重试异常2012-03-16 21:25:53信息Zope准备好处理了吗
>请求
>***请注意,请求显示在apaches access.log中,但从未显示在apaches error.log或plones bin/plone fg输出中
atitlanorganics.com的Apache站点启用配置:

> root@li54-28:/etc/apache2/sites-enabled# ll atitlanorganics.com
> lrwxrwxrwx 1 root root 38 2012-02-13 07:04 atitlanorganics.com ->
> ../sites-available/atitlanorganics.com
> root@li54-28:/etc/apache2/sites-enabled#
> root@li54-28:/etc/apache2/sites-enabled# tail atitlanorganics.com
>     <Proxy *>
>         Allow from all
>     </Proxy>  RewriteEngine On
>     RewriteRule ^(.*) http://127.0.0.1:40000/VirtualHostBase/http/%{HTTP_HOST}:80/atitlanorganics.com/VirtualHostRoot/$1
> [P,L]
>     ErrorDocument 503 "<!DOCTYPE html><head><title>Site down</title></head><h1>Our webmaster isnt very good. Get a rope!</h1>"
> </VirtualHost>
>root@li54-28:/etc/apache2/sites enabled#ll atitlanorganics.com
>lrwxrwx 1根根目录38 2012-02-13 07:04 atitlanorganics.com->
>../sites available/atitlanorganics.com
> root@li54-28:/etc/apache2/已启用站点#
> root@li54-28:/etc/apache2/sites enabled#tail atitlanorganics.com
>     
>通融
>重新启动发动机
>重写规则^(.*)http://127.0.0.1:40000/VirtualHostBase/http/%{HTTP_HOST}:80/atitlanorganics.com/VirtualHostRoot/$1
>[P,L]
>ErrorDocument 503“我们的网站管理员不是很好,拿根绳子!”
> 
Plone控制台日志::将浏览器定向到http//72.14.188.28:40000/AtitlanOrganics时

> shadqudsi@li54-28:~/atitlanorganics.com$ bin/instance fg 2012-03-16
> 21:25:32 INFO ZServer HTTP server started at Fri Mar 16 21:25:32 2012
>         Hostname: 0.0.0.0
>         Port: 40000 2012-03-16 21:25:35 WARNING SecurityInfo Conflicting security declarations for "setText" 2012-03-16 21:25:35
> WARNING SecurityInfo Class "ATTopic" had conflicting security
> declarations
> /home/shadqudsi/buildout-cache/eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/config.py:706:
> UserWarning: The set_schema option of the <requ  ire /> directive is
> not supported in Zope 2. Ignored for <class
> 'Products.Carousel.content.carouselbanner.CarouselBanner'>   actions =
> self.handler(context, **args) 2012-03-16 21:25:52 INFO PloneFormGen
> Patching plone.app.portlets ColumnPortletManagerRenderer to not catch
> Retry exceptions 2012-03-16 21:25:53 INFO Zope Ready to handle
> requests 2012-03-16 22:18:04 INFO CMFFormController
> /home/shadqudsi/buildout-cache/eggs/Products.PloneFormGen-1.7.0-py2.6.egg/Products/PloneFormGen/skins/PloneFormfg_base_view_p3.cpt:
> No default action specified for status success, content type ANY. 
> Users of IE can submit pages using the return key, resulting in noton
> in the REQUEST.  Please specify a default action for this case.
> 
> 2012-03-16 22:18:04 INFO CMFFormController
> /home/shadqudsi/buildout-cache/eggs/Products.PloneFormGen-1.7.0-py2.6.egg/Products/PloneFormGen/skins/PloneFormfg_base_view_p3.cpt:
> No default action specified for status success, content type ANY. 
> Users of IE can submit pages using the return key, resulting in noton
> in the REQUEST.  Please specify a default action for this case.
>shadqudsi@li54-28:~/atitlanorganics.com$bin/instance fg 2012-03-16
>21:25:32信息ZServer HTTP服务器于2012年3月16日星期五21:25:32启动
>主机名:0.0.0.0
>端口:40000 2012-03-16 21:25:35警告安全信息“setText”的安全声明冲突2012-03-16 21:25:35
>警告SecurityInfo类“ATTopic”具有冲突的安全性
>声明
>/home/shadqudsi/buildout cache/eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/config.py:706:
>UserWarning:该指令的set_schema选项为
>Zope 2中不支持。忽略了'Products.Carousel.content.carouselbanner.carouselbanner'>操作'=
>self.handler(上下文,**参数)2012-03-1621:25:52信息PloneFormGen
>正在修补plone.app.portlets ColumnPortletManagerRenderer以使其无法捕获
>重试异常2012-03-16 21:25:53信息Zope准备好处理了吗
>请求2012-03-16 22:18:04信息CMFFormController
>/home/shadqudsi/buildout cache/eggs/Products.PloneFormGen-1.7.0-py2.6.egg/Products/PloneFormGen/skins/PloneFormfg\u base\u view\u p3.cpt:
>没有为状态成功指定默认操作,内容类型为ANY。
>IE用户可以使用return键提交页面,导致NOTO
>在请求中。请为此情况指定默认操作。
> 
>2012-03-16 22:18:04信息CMFFormController
>/home/shadqudsi/buildout cache/eggs/Products.PloneFormGen-1.7.0-py2.6.egg/Products/PloneFormGen/skins/PloneFormfg\u base\u view\u p3.cpt:
>没有为状态成功指定默认操作,内容类型为ANY。
>IE用户可以使用return键提交页面,导致NOTO
>在请求中。请为此情况指定默认操作。
我将我的apache站点启用的atitlanorganics.com配置与已知的jaibalito.org配置不同。唯一的区别是目录/域/端口引用

> root@li54-28:/etc/apache2/sites-available# diff atitlanorganics.com
> jaibalito.org
> 
> > 2,4c2,4 <       ServerAdmin webmaster@atitlanorganics.com <        
> > ServerName atitlanorganics.com <         ServerAlias
> > www.atitlanorganics.com
> > ---
> > >       ServerAdmin webmaster@jaibalito.org
> > >         ServerName jaibalito.org
> > >         ServerAlias www.jaibalito.org 6c6 <       DocumentRoot /home/shadqudsi/atitlanorganics.com/www
> > ---
> > >       DocumentRoot /home/naderehnilforoushan/jaibalito.org/www 11c11 <       <Directory /home/shadqudsi/atitlanorganics.com/www/>
> > ---
> > >       <Directory /home/naderehnilforoushan/jaibalito.org/www/> 48c48 <     RewriteRule ^(.*)
> > http://127.0.0.1:40000/VirtualHostBase/http/%{HTTP_HOST}:80/atitlanorganics.com/VirtualHostRoot/$1
> > [P,L]
> > ---
> > >     RewriteRule ^(.*) http://127.0.0.1:29000/VirtualHostBase/http/%{HTTP_HOST}:80/jaibalito.org/VirtualHostRoot/$1
> > [P,L] 50c50 <     ErrorDocument 503 "<!DOCTYPE html><head><title>Site
> > down</title></head><h1>Our webmaster isnt very good. Get a rope!</h1>"
> > ---
> > >     ErrorDocument 503 "<!DOCTYPE html><head><title>Jaibalito.org Under Repair</title></head><h1>Jaibalito.org under going site
> > maintenance: </h1>"
>root@li54-28:/etc/apache2/sites available#diff atitlanorganics.com
>jaibalito.org
> 
>>2,4c2,4>ServerName atitlanorganics.com>www.atitlanorganics.com
> > ---
>>>服务器管理员webmaster@jaibalito.org
>>>服务器名jaibalito.org
>>>服务器别名www.jaibalito.org 6c6 > ---
>>>DocumentRoot/home/naderehnilforoushan/jaibalito.org/www.11c11<
> > ---
>>>48c48 > http://127.0.0.1:40000/VirtualHostBase/http/%{HTTP_HOST}:80/atitlanorganics.com/VirtualHostRoot/$1
>>[P,L]
> > ---
>>>重写规则^(.*)http://127.0.0.1:29000/VirtualHostBase/http/%{HTTP_HOST}:80/jaibalito.org/VirtualHostRoot/$1
>>[P,L]50c50>我们的站长不太好,拿根绳子来!”
> > ---
>>>错误文档503“Jaibalito.org下的维修Jaibalito.org下的运行网站
>>维护:

你的zope有虚拟怪物吗?

问题已经解决。

我们靠朋友的一点帮助过日子;=)

决议: 我的Apache“重写规则”和Plone“站点名称”之间存在冲突

具体而言:

> RewriteRule ^(.*)
> http://127.0.0.1:40000/VirtualHostBase/http/%{HTTP_HOST}:80/atitlanorganics.com/VirtualHostRoot/$1
http://72.14.188.28:40000/AtitlanOrganics

请注意,atitlanorganics.com与Atitlan不匹配
> RewriteRule ^(.*)
> http://127.0.0.1:40000/VirtualHostBase/http/%{HTTP_HOST}:80/atitlanorganics.com/VirtualHostRoot/$1
> RewriteRule ^(.*)
> http://127.0.0.1:40000/VirtualHostBase/http/%{HTTP_HOST}:80/AtitlanOrganics/VirtualHostRoot/$1