Opps! It was my problem. The problem was: You have www.mysite.com "siteaccesing" www.mysite.com/site1. You have the following directory: /site1/myfolder If you type in a browser www.mysite.com/myfolder there is no problem because siteaccess handles the location of myfolder. But you cannot use: REQUEST.resolve_url('http://www.mysite.com/myfolder'). You must use: REQUEST.resolve_url('http://www.mysite.com/site1/myfolder'). Otherwise you will get a resource not found. Regards, Júlio Dinis Silva
From: "Júlio Dinis Silva" <juliodinis@hotmail.com> To: zope@zope.org Subject: [Zope] siteaccess + resolve_url problem Date: Thu, 26 Oct 2000 22:55:46 WEST
Hi all, I search for a solution in mailing lists but I didnt found a solution, just people talking about the same problem.
this dtml code dont work with siteaccess:
<dtml-with "REQUEST.resolve_url(SERVER_URL+'/some/path/to/a/object'"> some code </dtml-with>
I receive a Resource Not found error. I saw a solution(patch) for ZCatalog, but here I'm not using ZCatalog, its a Zope resolve_url call.
Is there a solution?
Thanks very much, Júlio Dinis Silva _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at http://profiles.msn.com.
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com.