[Michael Lewis [mailto:michael@nichestaffing.com]]
Do you refer to your links as ./c/d or just c/d? The former will cause it to loop. I had the same problem. dropping the ./ fixed it.
I'm not actively being plagued by this right now, but I'm sure I'll forget all this and run into the problem again, so I'll save this message. Thanks, // mark -
Also note that an "app" that is in use through the day (without the browser being closed) will eventually fail from this continual growth. a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c So if this will eventually crash Zope... a potential D.O.S. attack? Adam At 07:31 PM 9/23/02, Mark McEahern wrote:
[Michael Lewis [mailto:michael@nichestaffing.com]]
Do you refer to your links as ./c/d or just c/d? The former will cause it to loop. I had the same problem. dropping the ./ fixed it.
I'm not actively being plagued by this right now, but I'm sure I'll forget all this and run into the problem again, so I'll save this message.
Thanks,
// mark
-
_______________________________________________ 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 )
As I have read on this list time and again, the absolute_url() is a far better choice than relative urls. What do relative URLs have over the absolute_url() that makes a lot of people keep using it especially if you are not importing a site created by some other software?? TIA AM Adam Manock wrote:
Also note that an "app" that is in use through the day (without the browser being closed) will eventually fail from this continual growth.
a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c
So if this will eventually crash Zope... a potential D.O.S. attack?
Adam
At 07:31 PM 9/23/02, Mark McEahern wrote:
[Michael Lewis [mailto:michael@nichestaffing.com]]
Do you refer to your links as ./c/d or just c/d? The former will cause it to loop. I had the same problem. dropping the ./ fixed it.
I'm not actively being plagued by this right now, but I'm sure I'll forget all this and run into the problem again, so I'll save this message.
Thanks,
// mark
-
_______________________________________________ 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 )
_______________________________________________ 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 )
-- ================================================================== Aseem Mohanty Neurobehavioral Systems Inc, 828 San Pablo Ave, Albany, CA 94706 (R) 510 7696011 (M) 510 3014871 (O) 510 5279231 ================================================================== "I saw `cout' being shifted "Hello world" times to the left and stopped right there!!" -- Steve Gonedes ==================================================================
AM wrote:
As I have read on this list time and again, the absolute_url() is a far better choice than relative urls.
What do relative URLs have over the absolute_url() that makes a lot of people keep using it especially if you are not importing a site created by some other software??
at least 14 letters less ;-) SCNR oliver
AM wrote:
What do relative URLs have over the absolute_url() that makes a lot of people keep using it especially if you are not importing a site created by some other software??
As far as I am concerned, the reason I continued to use relative url's for the longest time, was because it was a deeply ingrown habbit from plain old html. Absolute url's are dynamic in Zope and that makes the wholde difference. regards Max M The reason I don't reach any higher is that I stand on the shoulders of midgets.
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of AM Sent: Tuesday, September 24, 2002 8:54 AM Cc: Zope Mailing List Subject: Re: [Zope] url growth
As I have read on this list time and again, the absolute_url() is a far better choice than relative urls.
What do relative URLs have over the absolute_url() that makes a lot of people keep using it especially if you are not importing a site created by some other software??
TIA AM
For me, it was ignorance. absolute_url is not covered as being terribly important in the Zope Book. It isn't mentioned till page 63, and then it only figures in an example of how it iterate over folder contents. Old sites are chock full of stuff like image.gif and file.html. Users are, obviously, going to balk at using that syntax when href="thing.gif" seems to work just fine. To put it another way: absolute_url doesn't make sense till you get the hierarchy-of-objects brain flash. As long as it seems like a webserver, the idea of asking an item what it would like to be called is pretty odd. The docs (IMHO) push how-to, not how-to-think. Without addressing the mental model required to understand Zope, the leap can be slow in coming. Not that I'm complaining about the docs. I'm very grateful to have them. I just think they aren't quite focused right for introducing experienced webheads to the Zope model.
AM writes:
As I have read on this list time and again, the absolute_url() is a far better choice than relative urls.
What do relative URLs have over the absolute_url() that makes a lot of people keep using it especially if you are not importing a site created by some other software?? I some cases, one needs relative URLs (when you play with acquisition) because "absolute_url" destroys the acquisition context.
A prominent example is a multi-lingual Web site of my former employer. He used common content (localized via translation catalogs) that were accessed via a language folders: CommonContent/ DE/ EN/ FR/ The language folders defined properties that controlled the translation catalogs. URL's had the form LANGUAGE/CommonContent/... Of couse, "absolute_url" would remove the language context... Dieter
participants (7)
-
Adam Manock -
AM -
Charlie Reiman -
Dieter Maurer -
Mark McEahern -
Max M -
Oliver Bleutgen