Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re^2: $base_url special meaning?

by punch_card_don (Curate)
on Nov 04, 2010 at 18:41 UTC ( #869540=note: print w/replies, xml ) Need Help??

in reply to Re: $base_url special meaning?
in thread $base_url special meaning?

Looking into it, MLX. You got me thinking about a proxy-related environment variable or something...

Replies are listed 'Best First'.
Re^3: $base_url special meaning?
by aquarium (Curate) on Nov 04, 2010 at 22:44 UTC
    but that will only come into play if $base_url is somehow special. if it's a plane jane variable, then there's no reason for anything to affect such simple code whereby a variable is assigned and immediately printed.
    the hardest line to type correctly is: stty erase ^H
Re^3: $base_url special meaning?
by MidLifeXis (Monsignor) on Nov 05, 2010 at 17:52 UTC

    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.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://869540]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2021-01-25 07:32 GMT
Find Nodes?
    Voting Booth?