473,289 Members | 1,743 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,289 software developers and data experts.

Zope Question - SOS - virtual objects

Hello !

I want to the zope handle all requests by only one method/zpt.

I set the access rule like this:

rq=context.REQUEST
s=str(rq.PATH_INFO)
rq.set("MainPath",s) # debug
if (s<>'/manage') and (s<>'/'):
from string import split
l=split(s,'/')
rq.set("MainPath",l) # debug
TraversalRequestNameStack=['index_html']
<--- I try to the Zope get
this object, and not the original URL

but it have failed.

When I try with:

http://mysite/o

I want to Zope store this url to MainPath variable, and
don't drop an error, but it is get the default index_html, and process
that.

In this case Zope is drop the error:

Site Error
An error was encountered while publishing this resource.
Resource not found
Sorry, the requested resource does not exist.
Check the URL and try again.
Resource: o GET

What I can do to prevent the error, and redirect the process to the
main index_html ???

Thanx for any advance !!!

KK


--
Best regards,
fowlertrainer mailto:fo***********@anonym.hu
Jul 18 '05 #1
1 1279
fo***********@anonym.hu wrote:

I want to the zope handle all requests by only one method/zpt.


Zope questions are better asked (and answered) on the Zope mailing
list, readily findable from the main zope web page...

-Peter
Jul 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Sig | last post by:
Hi there, Could you help me finding out whether Zope could be a serious technological framework for big corporation (compared to J2EE and ..Net) or not ? In the (quite very) big corporation I...
2
by: mxlplx | last post by:
I'm currently working on a project to convert an Interwoven-based site to use Zope instead. Has anyone attempted this before and if so, were you able to do it with Zope? Could you use the XML...
0
by: Brian Quinlan | last post by:
This meeting: ============= Paul Prescod will lead a discussion about the Python Virtual Machine. How does the Python Virtual Machine work internally? What are bytecodes? How is code compiled...
9
by: john | last post by:
Hi I am developing a timesheet system. It will have 3 levels of access 1)Administrator 2)Approver -- Will approve or reject the timesheet filled by employees 3)Employees -- Fill in the timesheet...
0
by: Unigroup of New York | last post by:
Content-Type: multipart/mixed; boundary="------------C465DF38DCB38DD2AF7117E0" Lines: 327 Date: Tue, 15 Feb 2005 23:36:38 -0500 NNTP-Posting-Host: 24.46.113.251 X-Complaints-To: abuse@cv.net...
4
by: Avery Warren | last post by:
I am investigating converting a wiki site to plone. I am having a lot of difficulty finding good documentation programmatically accessing the ZODB API. A lot of the user feedback is centered on...
21
by: godwin | last post by:
Hi all, I wanna thank Martin for helping out with my ignorance concerning execution of stored procedure with python. Now i have decided to write a web app that googles into my companies...
2
by: ryankaskel | last post by:
I don't know if this is the appropriate place to post a Zope question but I figure many here are familiar with it. I'm confused about the role of the ZMI when it comes to development. I want to...
9
by: Norm | last post by:
Hi, without meaning to start a flame war between the various python web tools, I was wondering if anyone had a review of the status of Zope. For example, is it being used for new projects or...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.