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

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:
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2008-08-02 - 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.