Re: [Zope-dev] Cannot access Zope Management Interface through lighttpdproxy
- Original Message - From: yegor [EMAIL PROTECTED] To: zope-dev@zope.org Sent: Thursday, October 12, 2006 1:33 PM Subject: [Zope-dev] Cannot access Zope Management Interface through lighttpdproxy I installed Plone 2.5 but it seems that the issue is Zope-related, so I'm posting it here should I go for a different mailing list?) When I access Zope Management Interface through lighttpd (proxy module) it does not show up (wget, e.g. downloads 0 bytes). Relevant part of Lighttpd config: url.rewrite-once = ( ^/plone/(.*)$ = /VirtualHostBase/http/rio.sci.ccny.cuny.edu/VirtualHostRoot/_vh_plone/$1 ) proxy.server = ( /VirtualHostBase = ( ( host = 127.0.0.1 , port = 8080 ) ) ) --- at the same time Plone's part is perfectly accessible. Same problem remains even if I remove all the rewriting and simply forward (with mod_proxy) all urls with /manage to port 8080 If I access port 8080 directly everything work just fine. Are there any hints in the lighttp accesslog or zope log files? Jonathan ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Cannot access Zope Management Interface through lighttpdproxy
snip - Original Message - From: Yegor Bryukhov To: Jonathan Cc: zope-dev@zope.org Sent: Thursday, October 12, 2006 4:20 PM Subject: Re: [Zope-dev] Cannot access Zope Management Interface through lighttpdproxy unsuccessful access to Zope Management Interface from inside the campus: 127.0.0.1 - Anonymous [12/Oct/2006:16:10:37 -0400] GET /manage HTTP/1.0 401 583 Mozilla/5.0 (X11; U; Linux i686; en-US; rv: 1.8.0.7) Gecko/20060913 Fedora/1.5.0.7-1.fc5 Firefox/1.5.0.7 pango-text /snip I am just guessing (i don't use lighttpd), but it looks like your proxy/rewriting is not set up correctly: ...GET /manage HTTP/1.0 401 583 Mozilla/5.0... The set of double quotes before Mozilla... should contain the URL to the ZMI. Here is an extract from one of my Z2.log files: 127.0.0.1 - admin [12/Oct/2006:16:29:04 -0400] GET /VirtualHostBase/http/mgr.xxx.net:80/VirtualHostRoot/misc_/SiteAccess/VirtualHostMonster.gif HTTP/1.1 304 254 http://mgr.xxx.net/manage_main; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) Maybe you will get a more informed response on the lighttpd list! Jonathan ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Cannot access Zope Management Interface through lighttpdproxy
With default settings - no.with proxy.debug=65000 lighttpd says:2006-10-12 14:34:18: (mod_proxy.c.1079) proxy - start2006-10-12 14:34:18: (mod_proxy.c.1115) proxy - ext found2006-10-12 14:34:18: (mod_proxy.c.1158) proxy - used fair balancing 2006-10-12 14:34:18: (mod_proxy.c.1239) proxy - found a host 127.0.0.1 80802006-10-12 14:34:18: (mod_proxy.c.377) connect delayed: 72006-10-12 14:34:18: (mod_proxy.c.993) proxy: fdevent-out 1 2006-10-12 14:34:18: (mod_proxy.c.804) proxy - connect - delayed success2006-10-12 14:34:18: (mod_proxy.c.960) proxy: fdevent-in 42006-10-12 14:34:18: (mod_proxy.c.645) proxy - have to read: 5832006-10-12 14:34:18: (mod_proxy.c.960) proxy: fdevent-in 4 2006-10-12 14:34:18: (mod_proxy.c.645) proxy - have to read: 0which looks similar to successful redirects I also attempted to set Zope to debug mode by setting Z_DEBUG_MODE to 1 because I could not find a way to pass -D option to Zope in Plone's startup scriptsIt didn't show any new information either.Setting debug_mode in zope.conf (Plone's ?) didn't help either.Are there any hints in the lighttp accesslog or zope log files? -- Best regards,Yegor__Yegor Bryukhov,Research AssociateCenter for Algorithms and Interactive Scientific Software City College of New Yorkoffice: Shepard 278office phone: +1(212)650-5378cell phone: +1(917)650-2035e-mail: [EMAIL PROTECTED]home-page: http://yegor.org ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Cannot access Zope Management Interface through lighttpdproxy
If there are no matching entries in the .../log/Z2.log file then the request is not getting passed to zope, which would appear to indicate that the lighttpdproxy/rewriting is not set up correctly. Jonathan - Original Message - From: Yegor Bryukhov To: Jonathan Cc: zope-dev@zope.org Sent: Thursday, October 12, 2006 3:43 PM Subject: Re: [Zope-dev] Cannot access Zope Management Interface through lighttpdproxy With default settings - no.with proxy.debug=65000 lighttpd says:2006-10-12 14:34:18: (mod_proxy.c.1079) proxy - start2006-10-12 14:34:18: (mod_proxy.c.1115) proxy - ext found2006-10-12 14:34:18: (mod_proxy.c.1158) proxy - used fair balancing 2006-10-12 14:34:18: (mod_proxy.c.1239) proxy - found a host 127.0.0.1 80802006-10-12 14:34:18: (mod_proxy.c.377) connect delayed: 72006-10-12 14:34:18: (mod_proxy.c.993) proxy: fdevent-out 1 2006-10-12 14:34:18: (mod_proxy.c.804) proxy - connect - delayed success2006-10-12 14:34:18: (mod_proxy.c.960) proxy: fdevent-in 42006-10-12 14:34:18: (mod_proxy.c.645) proxy - have to read: 5832006-10-12 14:34:18: (mod_proxy.c.960) proxy: fdevent-in 4 2006-10-12 14:34:18: (mod_proxy.c.645) proxy - have to read: 0which looks similar to successful redirectsI also attempted to set Zope to debug mode by setting Z_DEBUG_MODE to 1 because I could not find a way to pass -D option to Zope in Plone's startup scriptsIt didn't show any new information either.Setting debug_mode in zope.conf (Plone's ?) didn't help either. Are there any hints in the lighttp accesslog or zope log files? -- Best regards,Yegor__Yegor Bryukhov,Research AssociateCenter for Algorithms and Interactive Scientific Software City College of New Yorkoffice: Shepard 278office phone: +1(212)650-5378cell phone: +1(917)650-2035e-mail: [EMAIL PROTECTED]home-page: http://yegor.org ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )