304 redirect page

Author Message
Chris St.Amand 03/29/2006 07:01 am
Hello,

Is there any way of configuring how the URL is generated on the 304 pages that OE creates?

For example, if you browse to http://www.site.com/foo/ and it throws a 304 to /foo/redirect.htm, OE creates a default.htm file with a META redirect tag. The only problem is the URL that it redirects to is "../../www.site.com/foo/redirect.htm". Shouldn`t it just be "/foo/redirect.htm" ?

I`m trying to rebuild the same site structure, but it`s impossible to do it when OE is creating these files. I`d have to have http://www.site.com/www.site.com/foo, which doesn`t fit my needs...

Are there any ways around this? Am I missing a configuration value? I`ve tried changing the Link Translation options, but none of the options appear to change this behavior.

Thank-you,

Chris St.Amand
Oleg Chernavin 03/29/2006 07:01 am
Well, /foo/... will not work offline, because / would refer to C:\ disk or some other root directory. So, Offline Explorer uses only relative links. I would better offer you to try No Links Translation option for that.

Best regards,
Oleg Chernavin
MetaProducts corp.
03/29/2006 07:01 am
Thanks for the response Oleg.

I understand the need to do relative links, but why does it have to backtrack so far?

When I go to www.site.com/foo/ and I get redirected to /foo/redirect.htm, the page should only have to have a relative link to ../foo/redirect.htm and not ../../www.site.com/foo/redirect.htm which breaks if you`re posting the site to a webserver (because it tries to link outside of the root).

I tried changing the links translation options, but they don`t seem to affect this stub file that OE creates in place of a server side 304.

Thanks!

Chris
Oleg Chernavin 03/29/2006 07:01 am
Yes, you are right about the too deep ../../ path. Can you give me some real page example that contains such redirecting link. I would improve that linking shortly.

Oleg.