Tags:
create new tag
, view all tags

Question

How do I get include to work with URLs?

I get the following error when I try and embed a URL:

This site does not allow %INCLUDE% of URLs 

Every piece of documentation I see has the exact same example and error:

3. Display the current time in Tokyo in a TWiki page

    * You type:
          o Tokyo: %INCLUDE{"http://TWiki.org/cgi-bin/xtra/tzdate?tz=Asia/Tokyo" pattern="^.*<\!--tzdate:date-->(.*?)<\!--/tzdate:date-->.*"}% 
    * You get:
          o Tokyo: 

Warning
    This site does not allow %INCLUDE% of URLs 

What is the suggested solution?

Thanks, ~Donavon

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: centos
Web server: Apache/2.2.3 (CentOS)
Perl version: perl, v5.8.8
Client OS: MS XP sp2
Web Browser: firefox 3
Categories: Permissions

-- DonavonLerman - 19 Jun 2008

Answer

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

Visit Configure. Click the "Yes, I've read all the documentation" button. Click Security setup. Scroll down to Miscellaneous:EXPERT {INCLUDE}{AllowURLs} and click the checkbox to enable this feature. Click the "Next" button at the bottom of the Configure page and enter your admin password to save your changes.

-- DavidWolfe - 20 Jun 2008

Made the suggested modification and I'm still getting the same error.

-- DonavonLerman - 25 Jun 2008

Sorry, closing this after more than 30 days of inactivity. Please feel free to re-open if needed.

-- PeterThoeny - 02 Aug 2008

 
Change status to:
Topic revision: r4 - 2008-08-02 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.