Version 4 of ServerBasics

Updated 2002-05-10 09:08:24

I want to learn how to set up a server on my Windows 98 machine so I can run wikit under cgi. It looks like setting up the server is my first step. This page will document my learning process about servers. I am going to look at Personal Web Server first and see if I can get that going. Any tips? Point me in the right direction? --DGR 10/1/00

OK, I found SimpleServer:WWW for Windows at http://www.analogx.com/contents/download/network/sswww.htm and am installing it as my standalone server. --DGR 10/3/00


As this is the tclers wiki, a link to tclhttpd is more than needed...


May 10, 2002 - There are no doubt lots of ways to get there. Here's the approach I would suggest:

  • get tclhttpd as a scripted document [L1 ]
  • get the tclkitsh.exe runtime [L2 ] (note that you don't want the tclkit GUI version)
  • get the latest wikit, see "nwikit" at [L3 ]

Now, "tclkitsh tclhttpd" ought to start the web server (port 8015 is the default, I think). You should be able to see it by browsing to http://127.0.0.1:8015/ .

The way to start wikit, is to create a bat file, containing:

        @tclkitsh nwikit.bin %1 %2 %3

When launched as CGI, it will do the right thing (such as create a wikit.tkd to hold the wiki page contents). Note that you need tclkit, not tclkitsh, if you want to use wikit in local Tk mode (i.e. "tclkit nwikit.bin").

The missing piece is that I'm not familiar enough with tclhttpd to say how one connects both pieces together... (if you are reading this and know how to make it all work together, please feel free to amend this page).

-jcw