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
--
BramVanOosterhout - 02 Dec 2008
Answer
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