Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: $base_url special meaning?

by MidLifeXis (Monsignor)
on Nov 04, 2010 at 17:22 UTC ( [id://869519]=note: print w/replies, xml ) Need Help??


in reply to $base_url special meaning?

Is it possible that the EZProxy is rewriting anything that looks like a URL as a port on the proxy server? Just glancing at the website makes me think that this may be the case.

Update: How are you identifying the mimetype of the returned document? Perhaps the proxy is not identifying that this is not HTML, javascript, or xml, and is rewriting it as such. Search for rewrite in the documentation.

--MidLifeXis

Replies are listed 'Best First'.
Re^2: $base_url special meaning?
by punch_card_don (Curate) on Nov 04, 2010 at 18:41 UTC
    Looking into it, MLX. You got me thinking about a proxy-related environment variable or something...
      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

      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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-04-18 04:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found