Re: [Zope] apache rewrite quit working
Don't think that is it because it works fine if I change Zope to port 80. And, I was accessing apache on port 80 using the ip number, localhost, the machine's real name, and the URL domain it just wouldn't rewrite to 8086. nslookup showed name was still set to my ip number. Thomas On Wednesday 25 April 2007 15:50, Jonathan wrote: > - Original Message - > From: "Thomas Bennett" <[EMAIL PROTECTED]> > To: > Sent: Wednesday, April 25, 2007 4:15 PM > Subject: Re: [Zope] apache rewrite quit working > > > web-dav server is listening on 9800 > > http server is now listening on 80 > > http was listening on 8086 until rewrite quit working, explained below. > > > > Thanks anyway, > > Any chance your nameserver settings got changed? > > Jonathan -- Thomas McMillan Grant Bennett Appalachian State University Computer Consultant III P O Box 32026 University Library Boone, North Carolina 28608 (828) 262 6587 If it's not as simple as possible to try it, then the barrier to entry is too high. Library Systems Help Desk: http://www.library.appstate.edu/help/ ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope unusable on my Virtual Private Server
Maurits van Rees wrote at 2007-4-23 21:36 +: >I recently got a virtual private server on server4you.nl. All looked >fine, until I started trying to get Zope to run on it. > >It is a Debian Sarge server. I want Zope 2.9 on it, but even the zope >2.7 that this Debian version has official Debian packages for is >giving problems. After starting up and trying to access it (from the >same box with lynx): > >2007-04-23T22:37:58 ERROR(200) ZServer Server Error: thread.error, can't start >new thread >: file: /usr/lib/zope2.7/lib/python/ZServer/PubCore/ZRendezvous.py line: 44 Zope tried to start a new thread -- and failed. You might need C level debugging to find out why. -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] apache rewrite quit working
web-dav server is listening on 9800 http server is now listening on 80 http was listening on 8086 until rewrite quit working, explained below. Thanks anyway, Thomas PS: for what its worth, I found out in the mean time that NetDrive can cause Zope process to use over 95% of the cpu when the login in NetDrive is set and the password has changed on the Zope server and not on NetDrive. It continuously tries to connect. (NetDrive is a Novell program that allows you to map a webdav site as a drive on an MS Windows PC.) On Wednesday 25 April 2007 14:46, Jonathan wrote: > - Original Message - > From: "Thomas Bennett" <[EMAIL PROTECTED]> > To: > Sent: Wednesday, April 25, 2007 3:24 PM > Subject: [Zope] apache rewrite quit working > > > Zope Version (Zope 2.9.7-final, python 2.4.4, linux2) > > Python Version 2.4.4 (#1, Oct 23 2006, 13:58:00) [GCC 4.1.1 20061011 (Red > > Hat 4.1.1-30)] > > System Platform linux2 > > SOFTWARE_HOME /var/zope/lib/python > > ZOPE_HOME /var/zope > > INSTANCE_HOME /var/zope > > CLIENT_HOME /var/zope/var > > Network Services ZServer.HTTPServer.zhttp_server (Port: 80) > > ZServer.HTTPServer.zwebdav_server (Port: 9800) > > > > (Red Hat 4.1.1-30) is actually Fedora Core 6 > > > > NameVirtualHost 152.10.10.8:80 > > > > > > ServerAdmin [EMAIL PROTECTED] > > ServerName www.library.appstate.edu > > ServerSignature Off > > RewriteLog /var/log/httpd/libweb-rewrite_log > > ErrorLog /var/log/httpd/libweb-error_log > > LogLevel warn > > TransferLog /var/log/httpd/libweb-access_log > > ProxyVia on > > RewriteEngine On > > RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK) > > RewriteRule .* - [F] > > RewriteRule ^/(.*) > > http://localhost:8086/VirtualHostBase/http/%{SERVER_NAME}:80/VirtualHostR > >oot/$1 [L,P] > > > > > > Since apache quit rewriting I have changed the Zope port to 80 so we > > could get back online. The rewrites > > > > RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK) > > RewriteRule .* - [F] > > > > Any suggestions on getting or testing apache rewrite, or problems seen > > with my rewrite rules would be appreciated. > > Your rewrite rule points to port 8086 but according to your information > ZServer is listening on port 9800? > > > Jonathan -- Thomas McMillan Grant Bennett Appalachian State University Computer Consultant III P O Box 32026 University Library Boone, North Carolina 28608 (828) 262 6587 If it's not as simple as possible to try it, then the barrier to entry is too high. Library Systems Help Desk: http://www.library.appstate.edu/help/ ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] apache rewrite quit working
- Original Message - From: "Thomas Bennett" <[EMAIL PROTECTED]> To: Sent: Wednesday, April 25, 2007 3:24 PM Subject: [Zope] apache rewrite quit working Zope Version (Zope 2.9.7-final, python 2.4.4, linux2) Python Version 2.4.4 (#1, Oct 23 2006, 13:58:00) [GCC 4.1.1 20061011 (Red Hat 4.1.1-30)] System Platform linux2 SOFTWARE_HOME /var/zope/lib/python ZOPE_HOME /var/zope INSTANCE_HOME /var/zope CLIENT_HOME /var/zope/var Network Services ZServer.HTTPServer.zhttp_server (Port: 80) ZServer.HTTPServer.zwebdav_server (Port: 9800) (Red Hat 4.1.1-30) is actually Fedora Core 6 NameVirtualHost 152.10.10.8:80 ServerAdmin [EMAIL PROTECTED] ServerName www.library.appstate.edu ServerSignature Off RewriteLog /var/log/httpd/libweb-rewrite_log ErrorLog /var/log/httpd/libweb-error_log LogLevel warn TransferLog /var/log/httpd/libweb-access_log ProxyVia on RewriteEngine On RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK) RewriteRule .* - [F] RewriteRule ^/(.*) http://localhost:8086/VirtualHostBase/http/%{SERVER_NAME}:80/VirtualHostRoot/$1 [L,P] Since apache quit rewriting I have changed the Zope port to 80 so we could get back online. The rewrites RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK) RewriteRule .* - [F] Any suggestions on getting or testing apache rewrite, or problems seen with my rewrite rules would be appreciated. Your rewrite rule points to port 8086 but according to your information ZServer is listening on port 9800? Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] apache rewrite quit working
Zope Version(Zope 2.9.7-final, python 2.4.4, linux2) Python Version 2.4.4 (#1, Oct 23 2006, 13:58:00) [GCC 4.1.1 20061011 (Red Hat 4.1.1-30)] System Platform linux2 SOFTWARE_HOME /var/zope/lib/python ZOPE_HOME /var/zope INSTANCE_HOME /var/zope CLIENT_HOME /var/zope/var Network ServicesZServer.HTTPServer.zhttp_server (Port: 80) ZServer.HTTPServer.zwebdav_server (Port: 9800) (Red Hat 4.1.1-30) is actually Fedora Core 6 Campus maintenance tested the backup generator this morning. When the power was cut off the circuit breaker tripped on the battery backup that kicks in momentarily until the generator takes over so all hardware rebooted. After starting zeostorage and zope I found the apache rewrite rule that has been working since at least April 3, 2007 has quit working. Zeo, Zope, and apache have been restarted quite a few times since April 3 and worked fine. This is the first time the server has totally rebooted since that date. NameVirtualHost 152.10.10.8:80 ServerAdmin [EMAIL PROTECTED] ServerName www.library.appstate.edu ServerSignature Off RewriteLog /var/log/httpd/libweb-rewrite_log ErrorLog /var/log/httpd/libweb-error_log LogLevel warn TransferLog /var/log/httpd/libweb-access_log ProxyVia on RewriteEngine On RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK) RewriteRule .* - [F] RewriteRule ^/(.*) http://localhost:8086/VirtualHostBase/http/%{SERVER_NAME}:80/VirtualHostRoot/$1 [L,P] Since apache quit rewriting I have changed the Zope port to 80 so we could get back online. The rewrites RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK) RewriteRule .* - [F] were added in after a nessus3 scan from suggestions on the report but the server had been running fine after that. The syntax is correct according to httpd -t. Any suggestions on getting or testing apache rewrite, or problems seen with my rewrite rules would be appreciated. Thomas -- Thomas McMillan Grant Bennett Appalachian State University Computer Consultant III P O Box 32026 University Library Boone, North Carolina 28608 (828) 262 6587 If it's not as simple as possible to try it, then the barrier to entry is too high. Library Systems Help Desk: http://www.library.appstate.edu/help/ ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] extract page title
It escapes the characters inside the SCRIPT block before processing, why is why you can't do any TALES or anything else really in there... On 4/24/07, Andreas Jung <[EMAIL PROTECTED]> wrote: --On 25. April 2007 00:41:19 -0500 Jeff Rush <[EMAIL PROTECTED]> wrote: > Andreas Jung wrote: >> >> As far as I can recall: you can't use TALES within a SCRIPT block. >> That's why you must generate your stuff outside inside a script. > > Ah thanks I wasn't aware of that exclusion, never having tried it or > found it documented. Then yes your approach is the only one left. > The reason is obvious: Usually you don't have any markup with ... Still not getting why generate within a
Re: [Zope] extract page title
Hello all, Thanks very much for all of your help. thanks dean On 24 Apr 2007, at 16:20, Andreas Jung wrote: --On 24. April 2007 09:56:41 -0500 Jeff Rush <[EMAIL PROTECTED]> wrote: I don't see above him putting a tag within the tag. He wants to put the *value* of thetag inside the