Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: $base_url special meaning?

by punch_card_don (Curate)
on Nov 05, 2010 at 20:26 UTC ( #869750=note: print w/replies, xml ) Need Help??

in reply to $base_url special meaning?

OMG - I don't know who's dumber, me or EZProxy.

It finally occurred to me - and here it is for future reference.

When the proxy user calls the script, the resulting html output is fed back to him through the proxy server. EZProxy uses a predefined list of absolute urls that it should identify and rewrite on a page. Well, apparently it's not smart enough to distinguish between an actual link and some text on the page that matches one of its predefined urls.

I modified the script to send my debugging output to a local file instead of stdout, and lo and behold, there's

base_url = http://123.456.789.000

everywhere, unmolested.

Just shoot me now.

Thanks again for the help.

Time flies like an arrow. Fruit flies like a banana.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2016-10-25 03:27 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (313 votes). Check out past polls.