Question
External includes of URLs is not working for me. Includes of topics is working. This is such a generic thing that if it were systemic I'd think that someone whould have noticed it before. So I am suspecting that its a configuration mistake.
Getting an error under TWiki v4.2.2 not present under version 4.2.0 involving the include of an external URL.
Here is the error:
Failed to include URL http://**/yadayada.txt Protocol scheme '' is not supported
The text file is displayed just fine in the browser. Under the TWiki 4.2.0 the file is included into the topic just as desired. Now under 4.2.2 it breaks. I am not 100% sure that its TWiki version related. This involveds a physical server change as well.
Testing against other external URLs returns the same error message.
The AllowURLs configuration item is checked.
NameFilter is configured out of the box as:
[\s\*?~^\$@%`"'&;|<>\[\]\x00-\x1f]
The Apache error.log shows:
[Mon Sep 08 12:34:23 2008] [error] [client yadaIP ] [Mon Sep 8 12:34:23 2008] view: Use of uninitialized value in string eq at /usr/lib/perl5/vendor_perl/5.8.8/LWP/UserAgent.pm line 195., referer: http://yadaIP/twiki/bin/edit/Sandbox/TestTopic0?t=1220895168;nowysiwyg=1
This suggests to me that there is something wrong with the PERL configuration.... or maybe its a proxy problem.
bin/configure shows PROXYHOST set to the correct IP address. Does it need a protocol in front of the IP address?
PROXYPORT is set correctly.
In
Main.TWikiPreferences the PROXYHOST has the "http://" prefixed to the IP address. PROXYPORT is the same as under bin/configure.
I changed the PROXYHOST through bin/configure to have the "http://" prefixed to the IP address.
Now it works. Never mind.
But, I thought that
Main.TWikiPreferences would over-ride the settings through bin/configure...
Environment
--
DewayneVanHoozer - 08 Sep 2008
Answer
If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.
>
Now it works. Never mind.
Based on that, I'm changed the status, to save the next guy a few minutes of reading.
--
SeanCMorgan - 08 Sep 2008