Hi!<br>Hey, Tres, could you point us to a web example or a web page with more information about that technique?<br>I'm very interested on it and the technique that was introduced sometime ago about how to return a string as __bobo_traverse__ response but the example was uncompleted (for me at least)<br>
<br>This kind of information was very useful for many of us but there are no good tutorial or how-to<br><br>Thanks a lot!<br><br><div><span class="gmail_quote">2008/3/26, Tres Seaver <<a href="mailto:tseaver@palladion.com">tseaver@palladion.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
-----BEGIN PGP SIGNED MESSAGE-----<br> Hash: SHA1<br> <br><br> Martijn Jacobs wrote:<br> > Maybe a simple solution :<br> ><br> > Do you use apache as a frontend for your zope? If you do you can rewrite<br> > the incoming url's for example like this :<br>
><br> > RewriteEngine On<br> > RewriteRule ^/folder/mydoc.xls(.*)<br> > <a href="http://localhost:8080/VirtualHostBase/http/myIntranet/object_in_zope/VirtualHostRoot/mydoc_xls$1">http://localhost:8080/VirtualHostBase/http/myIntranet/object_in_zope/VirtualHostRoot/mydoc_xls$1</a><br>
> [L,P]<br> <br> <br>Or add a '__getitem__' to your class that looks for that key and returns<br> the right method.<br> <br> <br> Tres.<br> - --<br> ===================================================================<br>
Tres Seaver +1 540-429-0999 <a href="mailto:tseaver@palladion.com">tseaver@palladion.com</a><br> Palladion Software "Excellence by Design" <a href="http://palladion.com">http://palladion.com</a><br>
-----BEGIN PGP SIGNATURE-----<br> Version: GnuPG v1.4.6 (GNU/Linux)<br> Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org">http://enigmail.mozdev.org</a><br> <br> iD8DBQFH6ZfK+gerLs4ltQ4RAgdjAJ9bwmIjAbqkG1YKUyrgbKSG47FlXgCdHW+P<br>
GzL6mjcA1K8t9Q/5Y75tfF4=<br> =mySN<br> -----END PGP SIGNATURE-----<br> <br><br> _______________________________________________<br> Zope maillist - <a href="mailto:Zope@zope.org">Zope@zope.org</a><br> <a href="http://mail.zope.org/mailman/listinfo/zope">http://mail.zope.org/mailman/listinfo/zope</a><br>
** No cross posts or HTML encoding! **<br> (Related lists -<br> <a href="http://mail.zope.org/mailman/listinfo/zope-announce">http://mail.zope.org/mailman/listinfo/zope-announce</a><br> <a href="http://mail.zope.org/mailman/listinfo/zope-dev">http://mail.zope.org/mailman/listinfo/zope-dev</a> )<br>
</blockquote></div><br><br clear="all"><br>-- <br>Mis Cosas<br><a href="http://blogs.sistes.net/Garito">http://blogs.sistes.net/Garito</a><br>Zope Smart Manager<br><a href="http://blogs.sistes.net/Garito/670">http://blogs.sistes.net/Garito/670</a>