473,500 Members | 1,967 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1281
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
4916
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
1451
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
1397
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
1585
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
2102
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
1586
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
1577
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
1789
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
2597
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...
0
7182
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6906
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7397
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5490
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4611
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3110
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3106
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
672
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
316
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.