[Zope] URL rewriting (VHM and browser Id manager)
Victor Kolisinski
victor_kolisinski at yahoo.com
Sat May 14 15:26:23 EDT 2005
Dear Dieter
I am relativy new in the Zope community , so my firt
goal was to check am I doing something wrong in Zope
setup or in my code.
Regarding debuging , I am also using the pdb debuging
tool and for me it's works well.
I don't have enough time for now to correct bugs in
Zope but this bug is also related to bug "BASE Tag is
generated without session information" described at
http://www.zope.org/Collectors/Zope/885.
Both bugs are related to session machinery without
cookies , so in my case I can't using session data at
all.
Also my suggestion to Zope developers is that "Browser
ID manager" should rewrite URL only if cookies are
disabled on client side.
Thank very much for your effort.
--- Dieter Maurer <dieter at handshake.de> wrote:
> Victor Kolisinski wrote at 2005-5-13 10:31 -0700:
> > ...
> >URL is generated with _ZopeId but when request come
> to
> >
> >ZServer VHM mapping doesnt works correct. Maybe i
> >don't know to make correct mapping
> >
> >BUT today I make simple example:
> >VHM mapping = localhost:8080/test/VirtualHostRoot/
> >
> >In test folder i have index_html page :
> >
> ><html>
> > <head>
> > </head>
> > <body>
> > This is Page Template <em
> >tal:content="template/id">template id</em>.
> > <a href="" tal:attributes="href
> >here/absolute_url">Visit me again </a>
> > </body>
> ></html>
> >
> >In this simple example BIM URL rewriting doesn't
> >works.
> >It works only if VHM mapping is empty.
> >
> >Is it posible that VHM is buggy in this case.
>
> It is possible as I explained in an earlier message
> (conflict for "BeforeTraverse" hook).
>
> At your place, I would use debugging to find out
> what precisely goes on.
>
> When you plan to use Zope for various projects,
> you may be able to convince your boss that
> the investment in a commercial Python IDE with
> support for Zope debugging will be worth.
> Colleagues of mine are quite satisfied with WingIDE.
>
> Personally, I am using the archaic "pdb" (which
> comes with Python).
>
> > ...
> >P.S Do I need to start new thread with example like
> >this.
>
> No, as long as the subject still fits.
>
> --
> Dieter
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail
More information about the Zope
mailing list