>>>>> "Grant" == Grant McLean <[EMAIL PROTECTED]> writes:

Grant> I've seen a number of code examples for redirects which output a
Grant> root-relative URI in the Location header. Eg:

Grant>   Location: /images/item1.gif

If that's coming out from a CGI or Apache::Registry script, the
browser never sees it, because it's handled as an internal redirect.
That can be messy if it's an HTML page with relative links, as the
browser will fetch the links relative to the *old* URL, not the new
URL.  It's also messy if you meant to keep that URL private, but
something breaks as a result, and the URL gets publicized in an error
message.

Now, you may be talking about a response header that's not related to
CGI or Apache::Registry, in which case this doesn't apply.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Reply via email to