Question
Hi, When I try to use the
%INCLUDE% option, I get an error -->
Warning : This site does not allow
%INCLUDE% of URLs
Where/which is the site parameter to turn this feature on ?
Perhaps its easier if I explain the complete problem.
Here's my form
<form name="TextForm" action="%SCRIPTURL{"PrintEnv"}%" method="GET">
<input type="text" name="text1" size="25"> Enter Some Text <BR>
<input type="submit" value="Submit" />
<input type="reset" value="Reset" />
</form>
The
PrintEnv perl script simply prints the env variables:
print "Content-type: text/plain\n\n";
foreach $var (sort(keys(%ENV))) {
$val = $ENV{$var};
$val =~ s|\n|\\n|g;
$val =~ s|"|\\"|g;
print "${var}=\"${val}\"\n";
}
Everything works fine, except that I want the output to be rendered withing the twiki framework.
Environment
--
VaidyGanapathy - 08 Feb 2007
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
Run the
configure script and change the
{INCLUDE}{AllowURLs} setting.
--
PeterThoeny - 08 Feb 2007