Tags:
create new tag
view all tags

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

TWiki version: TWikiRelease04x01x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Suse 9
Web server: Apache 3.0.99-563
Perl version: 5.6.1
Client OS: Windows XP
Web Browser: i-explorer
Categories: Missing functionality

-- VaidyGanapathy - 08 Feb 2007

Answer

ALERT! 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

Change status to:
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2007-02-08 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.