I don't think that is what I said. If I understand you correctly, your user behind the proxy is seeing this behavior. If no one else is seeing this behavior, I would be more likely to check out what is unique with that environment first.

Since that user is behind a proxy that has the capability to rewrite urls so that they are directed back to a port on the proxy server, I would guess that the probability is quite high that this setting is active on his proxy server.

What mimetype are you using to send the file? According to the documentation cited in my previous post, if the document is HTML, javascript, or XML, URLs will be rewritten by the proxy server. I did not see a definitive statement as to what would happen in other cases.

What I am guessing is happening is this:

  1. You are sending the value of your $baseurl variable to the user via the EZProxy.
  2. The EZProzy is rewriting your URL to something that refers to the proxy server itself
  3. The user sees the address for the EZProxy instead of your address.

--MidLifeXis


In reply to Re^3: $base_url special meaning? by MidLifeXis
in thread $base_url special meaning? by punch_card_don

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.