Maybe a simple solution  :

Do you use apache as a frontend for your zope? If you do you can rewrite the incoming url's for example like this :

RewriteEngine On
RewriteRule ^/folder/mydoc.xls(.*) http://localhost:8080/VirtualHostBase/http/myIntranet/object_in_zope/VirtualHostRoot/mydoc_xls$1 [L,P]

hi every body i'm changing a very old zclass product.
In this zclass i declare a python script with this name "mydoc.xls"
this script return an xls file with an argument

now i'm writing a zope2 product. How can I explain to zope
that he should publish a certain method with a different name
so when people type http://myIntranet/folder/mydoc.xls?fileName=hello.xls it point to a real python method (dot caracter are forbiden in python class method)

mydoc.xls => mydoc_xls(REQUEST=None)

I know that Zclasses are bad :) , but I cannot change this URL, because
lot's of people record it.

thank's a lot for an advice.

Zope maillist  -
**   No cross posts or HTML encoding!  **
(Related lists - )

Martijn Jacobs
Four Digits, Internet Solutions

a: Willemsplein 15-1 6811 KB Arnhem NL kvk: 091621370000 | btw: 8161.22.234.B01
e-mail: [EMAIL PROTECTED] | web:
tel: +31 (0)26 44 22 700 | fax: +31 (0)84 22 06 117
Zope maillist  -
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to