Tags:
create new tag
view all tags

Question

I have installed twiki 4.2.3. I can view pages, but when I try to edit I get Access denied.

I have configured ApacheLogin and when I first registered, I was able to edit.

I figure it has something to do with redirection. I have set {PermittedRedirectHostUrls} to http://bram.van-oosterhout.org:8080.

The text suggests that this setting also needs {AllowRedirectUrl} to be enabled:

_If your host has aliases (such as both www.twiki.org and twiki.org, and some IP addresses) you need to list them to tell TWiki that redirecting to them is OK. TWiki uses redirection as part of its normal mode of operation when it changes between editing and viewing. The security setting {AllowRedirectUrl} is per default disabled making redirecting to other domains restricted to prevent TWiki from being used in phishing attacks to protect it from middleman exploits. You can add additional URLs to this setting to enable redirects to additional trusted sites. Enter as comma separated list of URLs or hostnames. The URL must be in the format http://your.domain.com._

But my configure script does not present a way to set {AllowRedirectUrl} and lib/LocalSite.cfg does not contain a setting.

Where do I enable {AllowRedirectUr}

Update

I grep ed the twiki tree and found:

<verbatim>

twiki4.2.3/data/TWiki/TWikiScripts.txt:| redirectto | If the savesettings process is successful, save will redirect to this topic or URL. The parameter valuecan be a TopicName, a Web.TopicName, or a URL.
Note: Redirect to a URL only works if it is enabled in configure (Miscellaneous {AllowRedirectUrl}). |
</verbatim>

But the Miscellaneous section only has: {Stats}{TopViews} and {Stats}{TopContrib}

Thanks

Environment

TWiki version: TWikiRelease04x02x03
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Ubuntu
Web server: Apache2
Perl version: 5,8,8
Client OS: nill
Web Browser: Firefox
Categories: Authorisation

-- BramVanOosterhout - 02 Dec 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.

Make clic on the Yes, I've read all the documentation button in the top of configure

-- EnriqueCadalso - 03 Dec 2008

Closing this question....

-- PeterThoeny - 04 Dec 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 - 2020-04-26 - 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.