I know this has been addressed before but after searching the WEB half a day Friday I only found one related item although not directly related to my situation and it said search the archives. Zope Version (Zope 2.6.1 (binary release, python 2.1, linux2-x86), python 2.1.3, linux2) Python Version 2.1.3 (#1, Sep 19 2002, 13:15:46) [GCC egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)] System Platform linux2 (I am moving everything to a new server and upgrading all software this week) Situation: These URLs all show the same content although there is only one dir1 folder: /dir1/ /dir1/dir1/ /dir1/dir1/dir1/ My thoughts have been its related UnrestrictedTraversal, acquisition, or something else but not sure where to change or if it can be changed? I've seen this before but it has pretty much been a non issue but now the campus is setting up a Google Search Appliance and the indexing mechanism seems to be attempting to traverse this pattern into infinite recursion. Since beginning this email I have found a contributing issue: In a directory say /dir1/dir2/dir3 a page in dir3 has a relative link to ../dir2. This may be the issue totally but is there an easy way to prevent this from performing as Zope allows it to, aside from horse whipping the person that created that page. Thanks, Thomas -- ==================================================================== Thomas McMillan Grant Bennett Appalachian State University Computer Consultant III P O Box 32026 University Library Boone, North Carolina 28608 (828) 262 6587 If it's not as simple as possible to try it, then the barrier to entry is too high. Library Systems Help Desk: http://www.library.appstate.edu/help/ ====================================================================
--On 5. März 2007 14:33:09 -0500 Thomas Bennett <bennetttm@appstate.edu> wrote:
These URLs all show the same content although there is only one dir1 folder:
/dir1/ /dir1/dir1/ /dir1/dir1/dir1/
The behavior is correct.
My thoughts have been its related UnrestrictedTraversal, acquisition, or something else but not sure where to change or if it can be changed? I've seen this before but it has pretty much been a non issue but now the campus is setting up a Google Search Appliance and the indexing mechanism seems to be attempting to traverse this pattern into infinite recursion.
Likely your messing up your site with relative urls. Use absolute urls instead. -aj
On 5-Mar-07, at 11:58 AM, Andreas Jung wrote:
These URLs all show the same content although there is only one dir1 folder:
/dir1/ /dir1/dir1/ /dir1/dir1/dir1/
The behavior is correct.
Absolutely. But we've found (as I presume the original poster found) that it can be problematic in certain cases. For us one of those cases is where user generated content (and links) abound. Our users can have problems with HTML even in a WYSIWYG editor, let alone understanding Zopeisms like acquisition. In such cases, I've made sure the template used to deliver this content checks the requested URL against the absolute URL and redirects (and then logs and emails) when such a indiscretion occurs. Edward Pollard Information Technology | WEB Team University of Lethbridge.
participants (3)
-
Andreas Jung -
Edward Pollard -
Thomas Bennett