[Zope] Redirect problem

Charlie Reiman creiman@kefta.com
Thu, 7 Nov 2002 15:15:27 -0800


> -----Original Message-----
> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Ken
> Sent: Thursday, November 07, 2002 1:04 PM
> To: zope@zope.org
> Subject: RE: [Zope] Redirect problem
>
>
> Charlie Reiman wrote:
>
> >Did you test with multiple browsers?
> >IE is slavishly devoted to file
> >extentions and disregards Content-type headers.
> >Mozilla is pretty much the exact opposite.
>
> >> This works:
> >>
> >> <dtml-var standard_html_header>
> >> <dtml-call
> "RESPONSE.redirect('http://dogjoy.freezope.org/redirect.html')">
> >> <dtml-var standard_html_footer>
> >>
> >> But this doesn't:
> >>
> >> <dtml-var standard_html_header>
> >> <dtml-call
> "RESPONSE.redirect('http://dogjoy.freezope.org/redirect.pdf')">
> >> <dtml-var standard_html_footer>
>
> So, OK, you're right, it works in Opera. The point is, *none* of
> my visitors use Opera, and in actual fact, almost none use
> anything but Explorer. My site looks like crap in Netscape 4, but
> I decided not to care. I first noticed the problem as visitors
> began pounding my script (with Explorer) . Face it, only geeks
> like us use Mozilla, Opera, etc.

I'm not sure what you saying here. I've faced up to this long ago. I know
only geeks use Mozilla and I never said anything to the contrary. Only that
it is probably a browser bug, not a Zope problem. This implies asking the
zope list for help is probably not going to be super productive.

> Is there a fix for the browser that my customers use?
>
> What I am trying to do is hide the actual URLs to protect my
> data, and at the same time record outbound clicks. I'm just
> looking for a solution.

You can hide URLs by use of frames. This isn't a great solution since it
busts bookmarks and only hides URLs from the very stupid (those who can't
find 'View frame source' on a menu).

Besides, redirect won't hide URLs from end users. That's not how redirect
works.