10/22/2003 Stefan Vogel
I just wanted to get familar with metakits. So I build up a very simply but still useful (at least for me) Webadministration-Interface for MetaKit.
This webadministration Metakit@Web works with Tclhttpd.
With Metakit@Web (Version 0.2) you can:
Installation is quite simple (as always with Tclhttpd):
Attention
This Webadmin-interface was developed only for me and my local installation of Tclhttpd.
Next steps/Missing features:
You've been warned. But now ... have fun:
... Script removed ...
10/23/2003 Stefan Vogel O.k. even though the complete Webadministration of Metakits was only about 600 LoC, it's a little bit to much for the Wiki. You can download the script "mkweb.tcl" (currently Version 0.2) from:
http://www.freewebs.com/vogel-nest/tcl/
Wow! -jcw
rmax - This looks very nice indeed!
But I keep getting the following error whenever I invoke a link, that changes anything (creating/deleting databases, modifying views, adding rows, etc.):
[Stack trace and further discussion deleted]
The following patch fixes redirection. Feel free to remove it from here once you have applied it.
--- mkweb.tcl.orig +++ mkweb.tcl @@ -630,7 +620,7 @@ proc metakit::web::ReturnResult {result {redirect ""}} { variable aConfig if {$redirect != ""} { - Httpd_RedirectSelf /$aConfig(prefix)/$redirect $::env(sock) + return -code 302 /$aConfig(prefix)/$redirect } else { return [generateHtml $result] }
Of course the Cgi_SetEnvAll trick can also be removed after applying this.