简体   繁体   中英

configuring twiki

i am configuring twiki.

when i give my user id and password it does proceed, but when i hit the cancel button it takes me to the new registration page and when i make a new id on that page it gives another error of access denied.

here is my error message

Access check on Main.WebHome failed. Action "redirect": unsafe redirect to http://192.168.15.24/twiki/bin/oops/Main/TWikiRegistration?twiki_redirect_cache=284eea1940e2adc7f9ed6bdc45456713: host does not match {DefaultUrlHost} , and is not in {PermittedRedirectHostUrls}"http://localhost". 

There is a file named LocalSite.cfg inside /www/twiki directory. Go to this line and change it to your respective twiki URL:

$TWiki::cfg{DefaultUrlHost} and $TWiki::cfg{PermittedRedirectHostUrls} path

The Problem is in the configuration. Find out your ip-adress and open the link http:///twiki/bin/configure. in the section "General Path settings" there is an entry named {DefaultUrlHost}. Set it to http://

BR Frank

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM