[Zope-dev] Zope Tests: 5 OK
Summary of messages to the zope-tests list. Period Wed Jul 11 12:00:00 2007 UTC to Thu Jul 12 12:00:00 2007 UTC. There were 5 messages: 5 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2.7 Python-2.3.6 : Linux From: Zope Unit Tests Date: Wed Jul 11 20:56:14 EDT 2007 URL: http://mail.zope.org/pipermail/zope-tests/2007-July/008017.html Subject: OK : Zope-2.8 Python-2.3.6 : Linux From: Zope Unit Tests Date: Wed Jul 11 20:57:45 EDT 2007 URL: http://mail.zope.org/pipermail/zope-tests/2007-July/008018.html Subject: OK : Zope-2.9 Python-2.4.4 : Linux From: Zope Unit Tests Date: Wed Jul 11 20:59:15 EDT 2007 URL: http://mail.zope.org/pipermail/zope-tests/2007-July/008019.html Subject: OK : Zope-2.10 Python-2.4.4 : Linux From: Zope Unit Tests Date: Wed Jul 11 21:00:47 EDT 2007 URL: http://mail.zope.org/pipermail/zope-tests/2007-July/008020.html Subject: OK : Zope-trunk Python-2.4.4 : Linux From: Zope Unit Tests Date: Wed Jul 11 21:02:18 EDT 2007 URL: http://mail.zope.org/pipermail/zope-tests/2007-July/008021.html ___ 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] Zope 2.10.4 Upgrade
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12 Jul 2007, at 05:03, David Ayres wrote: I recently upgraded from Zope 2.10.0 to 2.10.4. However, the Zope instance still reflects 2.10.0 in the control panel. I installed Zope 2.10.4. Then, in my instance, I changed the variables in 'zopectl' and 'zope.conf' to reflect the new 2.10.4 version and restarted. Did I miss a step? Taking an existing instance and mucking with the scripts in it to point to newer code isn't recommended. However, it can be expedient if you really know what you're doing. You need to edit pretty much every file under bin/ and etc/ in your instance and do a search/ replace, not just etc/zope.conf and bin/zopectl. jens -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (Darwin) iD8DBQFGlcz6RAx5nvEhZLIRAlYJAJ4+SgVYVwtS98r3TClp+t7XKI2rkgCglGQD act77PiH/seLmB9EohtKtVU= =SJOI -END PGP SIGNATURE- ___ 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] 2.6 to 2.10 migration: RuntimeError: maximum recursion depth exceeded
On 12/07/2007 Andreas Jung wrote: --On 12. Juli 2007 01:02:49 +0200 Jonas Meurer [EMAIL PROTECTED] wrote: after importing a product from zope 2.6.4 to a 2.10.3 instance, trying to open the product produces quite a lot of errors in my event.log, and a traceback in the zope management interface. Importing as zexp? If yes, this is unsupported. Hello Andreas, Yes, I imported the Product as zexp. Why is that unsupported, and how else may I import it? It doesn't exist in the filesystem hierarchy, as it's a custom Product which was developed in the ZMI. Or is there a save way to export the Product from the 2.6.4 instance to files and then import the files to the 2.10.3 instance? greetings, jonas -- In post-historical society, the rulers have ceased to rule, but the slaves remain slaves. - Perry Anderson signature.asc Description: Digital signature ___ 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] 2.6 to 2.10 migration: RuntimeError: maximum recursiondepth exceeded
- Original Message - From: Jonas Meurer [EMAIL PROTECTED] To: zope-users zope@zope.org Sent: Thursday, July 12, 2007 9:23 AM Subject: Re: [Zope] 2.6 to 2.10 migration: RuntimeError: maximum recursiondepth exceeded Importing as zexp? If yes, this is unsupported. Yes, I imported the Product as zexp. Why is that unsupported, and how else may I import it? It doesn't exist in the filesystem hierarchy, as it's a custom Product which was developed in the ZMI. Or is there a save way to export the Product from the 2.6.4 instance to files and then import the files to the 2.10.3 instance? Typically Zope 'Products' exist on the filesystem. If you created your product entirely thru the ZMI, then you probably have a ZClass-based product. These type of products can be exported but not directly imported. If you tried to import it you should see a broken product icon in the Control_Panel/Products listing in the ZMI. There is a work-around: you can create an external method which can import the 'exported' zclass product, something like: def importZClass(self): prdDir = self.unrestrictedTraverse('/Control_Panel/Products') prdDir.manage_importObject('something.zexp') return 'done' Note: ZClasses are officially deprecated as of Zope 2.10. They may work or they may not, but they are no longer officially supported. hth 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] Re: Zope 2.10.4 Upgrade
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jens Vagelpohl wrote: On 12 Jul 2007, at 05:03, David Ayres wrote: I recently upgraded from Zope 2.10.0 to 2.10.4. However, the Zope instance still reflects 2.10.0 in the control panel. I installed Zope 2.10.4. Then, in my instance, I changed the variables in 'zopectl' and 'zope.conf' to reflect the new 2.10.4 version and restarted. Did I miss a step? Taking an existing instance and mucking with the scripts in it to point to newer code isn't recommended. However, it can be expedient if you really know what you're doing. You need to edit pretty much every file under bin/ and etc/ in your instance and do a search/ replace, not just etc/zope.conf and bin/zopectl. in particular, 'zopectl' invokes 'runzope' to start the application server. Tres. - -- === Tres Seaver +1 540-429-0999 [EMAIL PROTECTED] Palladion Software Excellence by Designhttp://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGlkEd+gerLs4ltQ4RAtiVAJ976kguMdfO+ebdvgLcG8SKTrgu8gCgwnUT ljZjUSxpqqlQdWsRCjRMVmY= =Ug8d -END PGP SIGNATURE- ___ 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] Re: Zope 2.10.4 Upgrade
David Ayres, on 2007-07-12: I recently upgraded from Zope 2.10.0 to 2.10.4. However, the Zope instance still reflects 2.10.0 in the control panel. I installed Zope 2.10.4. Then, in my instance, I changed the variables in 'zopectl' and 'zope.conf' to reflect the new 2.10.4 version and restarted. Did I miss a step? You can run a mkzopeinstance over an existing instance and those things will be upgraded. Not completely sure what happens to any modifications to the zope.conf file. -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http://zestsoftware.nl/ Do not worry about your difficulties in computers, I can assure you mine are still greater. ___ 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] html2pdf
I am trying to use html2pdf and htmldoc to generate pdfs on the fly. I can get it to work perfectly if I set all view permissions for anonymous. However, this is not suitable for a member only site. Can anyone point me in the right direction for such use? I am using: (Zope 2.9.0, python 2.4.2, win32) and latest version of html2pdf. Regards Garry ___ 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] CMF 2.1.0-beta2 released
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The CMF developer community is hereby announcing the release of CMF version 2.1.0-beta2. What is the CMF? The Zope Content Management Framework provides a set of services and content objects useful for building highly dynamic, content-oriented portal sites. The CMF provides the foundation for popular software packages such as Plone. It is intended to be easily customizable, in terms of both the types of content used and the policies and services it provides. Where do I get it? For release files, change logs, installation instructions and more please visit http://www.zope.org/Products/CMF/CMF-2.1.0-beta2. Roadmap and release information can be found at http://www.zope.org/Products/CMF/docs/roadmap. The CMF mailing list can be reached at the [EMAIL PROTECTED] address, to sign up please visit http://mail.zope.org/mailman/listinfo/zope- cmf. Please file bug reports, feature requests or suggestions in the CMF bug collector at http://www.zope.org/Collectors/CMF . What has changed since the last release? Please note: Please read the Upgrading from versions earlier than 2.1.0-beta section in the INSTALL.txt-document for upgrading hints. New Features - CMFCore.exportimport.skins: Added the ability to remove whole skin selections using a GS profile. (http://www.zope.org/Collectors/CMF/479) - Workflow definition instances now have a description field (http://www.zope.org/Collectors/CMF/480) Bug Fixes - UndoTool: Fixed 'listUndoableTransactionsFor'. The required 'object' argument is now respected. This doesn't change the behavior as long as 'object' is the site root object. - CMFCore.TypesTool: Corrected method signature of all_meta_types to have an interface keyword argument, as per the underlying OFS.ObjectManager interface declaration. - SkinnableObjectManager: Changed the way skins are set up. Acquisition wrapping no longer triggers 'setupCurrentSkin'. This is now done on publishing traversal after the BeforeTraverseEvent triggers 'setSite'. This fix replaces a temporary hack introduced in 2.1.0-beta, making sure ISkinsTool is looked up after setting the site. - CMFCore.CMFBTreeFolder: CMFBTreeFolders could not be used as the toplevel /Members container. (http://www.zope.org/Collectors/CMF/441) - Pass 'object' through to TypeInformation objects' 'listActions'. (http://www.zope.org/Collectors/CMF/482) - Removed extraneous Cache tab from FS-based skin objects. (http://www.zope.org/Collectors/CMF/343) - CMFCore.WorkflowTool: Using the '(Default)' keyword for a type's workflow chain will now reset any custom workflow chains for the type. (http://www.zope.org/Collectors/CMF/475) - Use the property API to get the member specific skin, because direct attribute access won't work with PAS based membership. (http://dev.plone.org/plone/ticket/5904) - Add POST-only protections to security critical methods. http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-0240) - Allow customization from DirectoryViews to be redirected into alternate folders, and use manually-built clones. (http://www.zope.org/Collectors/CMF/382) - Use a utility, registered for 'Products.CMFDefault.interfaces.IHTMLScrubber', to perform scrubbing of HTML; fall back to the old, hard-wired behavior. (http://www.zope.org/Collectors/CMF/452) - Remove antique usage of marker attributes in favor of interfaces, leaving BBB behind for places potentially affecting third- party code. (http://www.zope.org/Collectors/CMF/440) - Fixed DST-driven test breakage in CMFCalendar by adding an optional 'zone' argument to the DublineCore methods which return string rednitions of date metadata. (http://www.zope.org/Collectors/CMF/476) - Favorite: Fixed UID handling broken in 2.1.0-beta. - CMFDefault: Removed CMFUid dependency inadvertently added in 2.1.0-beta. - CMFActionIcons: Fixed interface declarations added in 2.1.0-beta. Other - The CMF now depends on Zope 2.10.4 or higher. - CMFDefault: Adjusted factory.py to new GenericSetup version. - CMFUid.UniqueIdAnnotationTool: Annotation handling has been switched from triggering it through old-style manage_*-methods to using events. UID assigning behavior has been made more flexible. Please review CMFUid/README.txt for information about the current behavior and the new features. (http://www.zope.org/Collectors/CMF/474) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (Darwin) iD8DBQFGlltDRAx5nvEhZLIRAjz+AJ91FGKJFbXBc0Qyr0kR70Grzh3sWwCeJBP2 wGHEuI+QbGm+Xe5VvzoQ69U= =6P48 -END PGP SIGNATURE- ___ Zope maillist -
Re: [Zope] 2.6 to 2.10 migration: RuntimeError: maximum recursion depth exceeded
--On 12. Juli 2007 15:23:23 +0200 Jonas Meurer [EMAIL PROTECTED] wrote: On 12/07/2007 Andreas Jung wrote: --On 12. Juli 2007 01:02:49 +0200 Jonas Meurer [EMAIL PROTECTED] wrote: after importing a product from zope 2.6.4 to a 2.10.3 instance, trying to open the product produces quite a lot of errors in my event.log, and a traceback in the zope management interface. Importing as zexp? If yes, this is unsupported. Hello Andreas, Yes, I imported the Product as zexp. Why is that unsupported, and how else may I import it? It doesn't exist in the filesystem hierarchy, as it's a custom Product which was developed in the ZMI. Or is there a save way to export the Product from the 2.6.4 instance to files and then import the files to the 2.10.3 instance .zexp export/import is only supported between identical versions. It's not a migration tool. -aj pgprBbr3DHTFv.pgp Description: PGP signature ___ 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] Re: html2pdf
Garry Saddington, on 2007-07-12: I am trying to use html2pdf and htmldoc to generate pdfs on the fly. I can get it to work perfectly if I set all view permissions for anonymous. However, this is not suitable for a member only site. Can anyone point me in the right direction for such use? I am using: (Zope 2.9.0, python 2.4.2, win32) and latest version of html2pdf. I would simply say: set the view permissions to Member and not to Anonymous. Then report back here with any errors you get. -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http://zestsoftware.nl/ Do not worry about your difficulties in computers, I can assure you mine are still greater. ___ 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] Re: html2pdf
On Thursday 12 July 2007 18:19, Maurits van Rees wrote: Garry Saddington, on 2007-07-12: I am trying to use html2pdf and htmldoc to generate pdfs on the fly. I can get it to work perfectly if I set all view permissions for anonymous. However, this is not suitable for a member only site. Can anyone point me in the right direction for such use? I am using: (Zope 2.9.0, python 2.4.2, win32) and latest version of html2pdf. I would simply say: set the view permissions to Member and not to Anonymous. Then report back here with any errors you get. In the html2pdf howto at Zope it says 'Only works with anonymous permissions' -- just read it properly!. Probably because the htmldoc process accesses the web page via a URL passed to it by html2pdf. So I guess I will have to pass the rendered page to the script and hence to htmldoc. When I use it now all I get is a nice PDF of the cookiecrumbler login screen and no error messages in the error_log. Thanks for replying, am I on the right lines? Regards Garry ___ 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] 2.6 to 2.10 migration: RuntimeError: maximum recursion depth exceeded
On 12/07/2007 Andreas Jung wrote: after importing a product from zope 2.6.4 to a 2.10.3 instance, trying to open the product produces quite a lot of errors in my event.log, and a traceback in the zope management interface. Importing as zexp? If yes, this is unsupported. Yes, I imported the Product as zexp. Why is that unsupported, and how else may I import it? It doesn't exist in the filesystem hierarchy, as it's a custom Product which was developed in the ZMI. .zexp export/import is only supported between identical versions. It's not a migration tool. So is there any supported way to migrate a ZClass Product which only exists in the Zope hierarchy? I know that ZClasses are depreciated in zope 2.10 anyway, but still the problem remains for migrations from zope 2.6.4 to 2.9 for example. ... jonas -- In post-historical society, the rulers have ceased to rule, but the slaves remain slaves. - Perry Anderson signature.asc Description: Digital signature ___ 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] 2.6 to 2.10 migration: RuntimeError: maximum recursiondepth exceeded
- Original Message - From: Jonas Meurer [EMAIL PROTECTED] To: zope-users zope@zope.org Sent: Thursday, July 12, 2007 4:12 PM Subject: Re: [Zope] 2.6 to 2.10 migration: RuntimeError: maximum recursiondepth exceeded So is there any supported way to migrate a ZClass Product which only exists in the Zope hierarchy? I know that ZClasses are depreciated in zope 2.10 anyway, but still the problem remains for migrations from zope 2.6.4 to 2.9 for example. As I mentioned previously, export via the ZMI, import via an external method. 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] Re: 2.6 to 2.10 migration: RuntimeError: maximum recursion depth exceeded
Jonas Meurer wrote: On 12/07/2007 Andreas Jung wrote: after importing a product from zope 2.6.4 to a 2.10.3 instance, trying to open the product produces quite a lot of errors in my event.log, and a traceback in the zope management interface. Importing as zexp? If yes, this is unsupported. Yes, I imported the Product as zexp. Why is that unsupported, and how else may I import it? It doesn't exist in the filesystem hierarchy, as it's a custom Product which was developed in the ZMI. .zexp export/import is only supported between identical versions. It's not a migration tool. So is there any supported way to migrate a ZClass Product which only exists in the Zope hierarchy? I know that ZClasses are depreciated in zope 2.10 anyway, but still the problem remains for migrations from zope 2.6.4 to 2.9 for example. If by migration you mean upgrade, then you do it the same as you would upgrade any other Zope instance: copy the ZODB to an instance of the new software. --jcc -- Connexions http://cnx.org Building Websites with Plone http://plonebook.packtpub.com ___ 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] Re: html2pdf
On Thu, 12 Jul 2007 16:57:05 +0100, Garry Saddington wrote: I am trying to use html2pdf and htmldoc to generate pdfs on the fly. I can get it to work perfectly if I set all view permissions for anonymous. However, this is not suitable for a member only site. Can anyone point me in the right direction for such use? My experience with htmldoc is that it does work for non-anonymous HTML documents, provided that either (1) there are no images in the document, or (2) any images in the document are visible to anonymous and the image 'src' attributes specify the absolute URL of the image. I strongly suspect that this is because the HTML is handed directly to the htmldoc tool, and then htmldoc tries to access the images from you server. It can't log in, hence the images must be anonymous. ___ 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] greedy acquisition problem
I have a site, in a folder called 'kb' you access it via http://webserver/kb it has a knowledge base. Inside this, is the index_html and I have some search pages... ---F_problemsearch--- * a form for searching. It's put on the index_html page via tal:replace=structure here/F_problemsearch contents: form name=searchbyproblem action=ProcessSearch input type=text name=problem style=color:white; background-color:green; button type=submit name=st value=SimpleSimple/button /form -- ProcessSearch is a parameterized python script containing: if st == 'Simple': return container.problemsearch(problem=problem) -- problemsearch (note the missing F_) is the search results. example: tr tal:repeat=item here/SQL_search_problems tal:attributes=bgcolor python:test(path('repeat/item/even'), '#F3', '#FF') td tal:content=item/id valign=topID/td td tal:content=item/title valign=topTitle/td td tal:content=structure item/problem valign=topProblem/td tdform name=selection action=ShowJustOneinput type=hidden name=ID tal:attributes=value item/id value=42input type=submit value=view/form/td /tr -- Clicking on the 'simple' button, it changes the URL to http://webserver/kb/ProcessSearch?problem=newst=Simple. Everything works as expected. However, now I want to add another level. example: http://webserver/kb/review and I want to change only the index_html, and search pages (so someone can review articles after they are submitted). I copied the search pages listed above in the new 'review' folder. I changed the text of the button in problemsearch above to review instead of view. When I try it out, I go to http://webserver/kb/review. I type in my search, click simple and the URL changes to this: http://webserver/kb/ProcessSearch?problem=newst=Simple I'd like it to use the files in '/kb/review' before using the files in /kb and I thought that's what acquisition did (index_html behaves this way!) however, it's not doing it correctly. The only way I can get it to properly work is by changing the URL to this: http://webserver/kb/review/ (adding a trailing slash). This website is used internally by users who will be manually typing the URL. Is there some way I can get http://webserver/kb/review to work as well as http://webserver/kb/review/ ? -- Thanks, Derek Wilson ___ 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] Re: Zope 2.10.4 Upgrade
Thanks to everyone for the replies. In the past, I usually created a brand new instance and just copied over my Data.fs, Products, etc. But, I figured there was a way to do an upgrade. Attempt 1: Failed. :) If I run mkzopeinstance over my existing instance, will it upgrade the instance without destroying my data, etc. ? Thanks Again, Dave -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Maurits van Rees Sent: Thursday, July 12, 2007 11:34 AM To: zope@zope.org Subject: [Zope] Re: Zope 2.10.4 Upgrade David Ayres, on 2007-07-12: I recently upgraded from Zope 2.10.0 to 2.10.4. However, the Zope instance still reflects 2.10.0 in the control panel. I installed Zope 2.10.4. Then, in my instance, I changed the variables in 'zopectl' and 'zope.conf' to reflect the new 2.10.4 version and restarted. Did I miss a step? You can run a mkzopeinstance over an existing instance and those things will be upgraded. Not completely sure what happens to any modifications to the zope.conf file. -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http://zestsoftware.nl/ Do not worry about your difficulties in computers, I can assure you mine are still greater. ___ 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 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] greedy acquisition problem
+---[ SpiderX ]-- | the URL. Is there some way I can get http://webserver/kb/review to work as well | as http://webserver/kb/review/ ? That was a lot of text to get to that point. How about you check to see if the URL ends in a / and if not redirect to the new url with a / This is the way most other things manage it. I would suggest wrapping your index_html page template (called index_html) by creating a python script to do the check-redirect-render shuffle. You would renamed your existing index_html to index_html2 or something else you can simple call from your python script. -- Andrew Milton [EMAIL PROTECTED] ___ 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 )