Tags:
create new tag
view all tags

Question

I've been looking at the rest script documentation, trying to understand it. Unfortunately, there seems to be a bug or misconfiguration on twiki.org. Clicking the example prints an error message (in, what I assume, is rest format). More generally, I'd like to know how to get a summary of TWiki REST functionality. That is, which plugins have "registered" which subjects and verbs.

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
 peter@structuredwikis.com and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
<hr>
<address>Apache/2.2.4 (Unix) Server at twiki.org Port 80</address>
</body></html>

Environment

TWiki version: unspecified
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories:  

-- VickiBrown - 02 Jan 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.

The rest script is a worry - it is not REST at all, and does nothing in the default TWiki. Its actually a replacement for the way that addons used to add their own cgi-scripts, causing all sorts of security issues.

I am working (together with Crawford) on creating a real REST interface, building on the restHandlers, but we need to continue working on the TopicObjectModel.

-- SvenDowideit - 02 Jan 2008

Seems to be answered...

-- PeterThoeny - 02 Mar 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-03-02 - 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-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.