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

Re: localhost url repeating on internal links

by haukex (Archbishop)
on Jun 30, 2019 at 12:16 UTC ( [id://11102166]=note: print w/replies, xml ) Need Help??


in reply to localhost url repeating on internal links

You'd have to locate the place where GLOBAL::script_dir_url gets set, perhaps by grepping for script_dir_url. Since you've described earlier that this code works on a *NIX server and not Windows, you might want to check if you've got the same module versions installed on both, although without knowing what the code that sets the variable looks like, I can't say which ones. Also, looking at the %ENV variables provided by Apache to the CGIs on each system might give a clue, e.g. with a test script that simply does use Data::Dumper; print Dumper \%ENV;.

Replies are listed 'Best First'.
Re^2: localhost url repeating on internal links
by traincity (Sexton) on Jun 30, 2019 at 17:07 UTC
    OK thanks very much for your response. I'll check those out.
Re^2: localhost url repeating on internal links
by traincity (Sexton) on Jul 01, 2019 at 08:53 UTC
    Thanks again for your help on this. Somehow I was able to manipulate the variables so that it now works.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-04-24 00:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found