At 02:56 PM 4/8/01 +0200, Antti Linno wrote:
>$req_rec->header_out("Location" => "intranet.html?action=show#anchor_name");
I think you should provide the _complete_ URL, including the http://server
part. Some browser do not handle incomplete URL's like this in a redirect
correctly. Please someone correct me if I'm wrong here...
>The html has such tag, but redirect shows no effect. Tried with simple
>html link and it worked.
>Any ideas how to get to some anchor in the middle of the page?
Some browsers support the ?action#anchor syntax. Some don't (particularly
not too recent MSIE's). If you really want to reliably do this, you should
hide your parameter in the URL and use a RewriteRule or a mod_perl handler
to extract the parameter, e.g. instead of
"intranet.html?action=show#anchor_name" use a URL in the form
"/show/intranet.html#anchor".
Hope this helps...
Elizabeth Mattijsen