Tags:
create new tag
view all tags

Question

Hi,

I want to use twiki over a ssh tunnel:

ssh -C -L 4321:4.3.2.1:80 username@1PLEASENOSPAM.2.3.4

I can access the twiki and edit pages. Saving the page leads to following error:

############################## Access check on Main failed. Action "redirect": unsafe redirect to http://localhost:4321/labbook/bin/view/Main/ToDo: host does not match {DefaultUrlHost} , and is not in {PermittedRedirectHostUrls}"http://localhost".

Contact if you have any questions.

Log in as internal admin if you need to quickly fix something ###############################

Adding "localhost:4321" to PermittedRedirectHostUrls doesn't help.

How can I fix this?

Best Regards!

Joerg

Environment

TWiki version: TWikiRelease04x02x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Debian Lenny, 2.6.22-3
Web server: Apache 2.2.8
Perl version: 5.10.0
Client OS: Debian Lenny, 2.6.25.3
Web Browser: Iceweasel 2.00.12
Categories: Permissions

-- TWikiGuest - 28 Jun 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.

Adding http://localhost:4321/ to the {PermittedRedirectHostUrls} setting - should work.

-- SvenDowideit - 29 Jun 2008

Hi Sven,

"http://" was missing. I didn't know that this is important.

THX!

-- TWikiGuest - 29 Jun 2008

Change status to:
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2008-06-29 - TWikiGuest
 
  • 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.