Cannot access Zope Management Interface through lighttpd proxy
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.
----- Original Message ----- From: "yegor" <ynb@mail.ru> 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
With default settings - no. with proxy.debug=65000 lighttpd says: 2006-10-12 14:34:18: (mod_proxy.c.1079) proxy - start 2006-10-12 14:34:18: (mod_proxy.c.1115) proxy - ext found 2006-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 8080 2006-10-12 14:34:18: (mod_proxy.c.377) connect delayed: 7 2006-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 success 2006-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: 583 2006-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: 0 which 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 scripts It 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 Associate Center for Algorithms and Interactive Scientific Software City College of New York office: Shepard 278 office phone: +1(212)650-5378 cell phone: +1(917)650-2035 e-mail: ybryukhov@gmail.com home-page: http://yegor.org
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 lighttpd proxy/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 - start 2006-10-12 14:34:18: (mod_proxy.c.1115) proxy - ext found 2006-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 8080 2006-10-12 14:34:18: (mod_proxy.c.377) connect delayed: 7 2006-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 success 2006-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: 583 2006-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: 0 which 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 scripts It 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 Associate Center for Algorithms and Interactive Scientific Software City College of New York office: Shepard 278 office phone: +1(212)650-5378 cell phone: +1(917)650-2035 e-mail: ybryukhov@gmail.com home-page: http://yegor.org
I haven't used lighttpd but the below rewrite rules doesn't specify the port, it should. Stefan On 12. Okt 2006, at 19:33, yegor wrote:
url.rewrite-once = ( "^/plone/(.*)$" => "/VirtualHostBase/http/rio.sci.ccny.cuny.edu/VirtualHostRoot/ _vh_plone/$1" )
-- Anything that happens, happens. --Douglas Adams
yegor wrote:
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?)
I suggest using a Plone users mailinglist. This is definitely the wrong list, it's for the development OF Zope, not for the development WITH Zope. If you want general Zope-related advice, I suggest zope@zope.org. But again, you might be better off with a Plone list.
participants (5)
-
Jonathan -
Philipp von Weitershausen -
Stefan H. Holek -
yegor -
Yegor Bryukhov