Tags:
create new tag
, view all tags

Question

I am trying this on my twiki intranet page :

   %INCLUDE{"http://finance.yahoo.com/q/bc?s=WFC" pattern=".*?Wells Fargo.*?(<big><b>.*?</b>.*?</b>).*"}%
and am getting the Warning: this site does not allow '% INCLUDE %' of URLs

Help?

Environment

TWiki version: TWikiRelease04x00x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: FC3
Web server: Apache
Perl version:  
Client OS:  
Web Browser: Firefox
Categories: Missing functionality

-- SrijeshKumar - 14 Jun 2006

Answer

It's a configuration option now, so you need to actively enable it in configure to make it work.

It's under Security setup -> Miscellaneous -> {DenyDotDotInclude} / {INCLUDE}{AllowURLs}.

-- SteffenPoulsen - 14 Jun 2006

Thanks..It works

-- SrijeshKumar - 14 Jun 2006

In TWiki 5.0.1, I had to manually add $TWiki::cfg{INCLUDE}{AllowURLs} = 1; to my LocalSite.cfg; the setting was not there.

-- JohnWorsley - 2010-11-03

Did you start with a clean slate, e.g. a new LocalSite.cfg generated the first time you save the configure settings? If you copy over an old LocalSite.cfg it will not carry over all settings. $TWiki::cfg{INCLUDE}{AllowURLs} exists in TWiki.spec, so it should carry over the setting the first time you save the configure settings.

-- PeterThoeny - 2010-11-03

 
Topic revision: r6 - 2010-11-03 - 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.