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

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2010-11-03 - 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.