Files in the top-level directory of check-in f5d96054423bc4ca
- bin
- certs
- DIST_build
- htdocs
- lib
- src
- aclocal.m4
- ChangeLog
- changes
- configure.in
- crypt_pkgIndex.tcl.in
- license.terms
- limit_pkgIndex.tcl.in
- Makefile.in
- README
- WHATSNEW
This HTTPD is written in Tcl and Tk.
Written by Stephen Uhler and Brent Welch of Sun Microsystems Laboratory.
Brent is now at Scriptics Corporation.
See the file "license.terms" for information on usage and redistribution
of this file, and for a DISCLAIMER OF ALL WARRANTIES.
Version: 3.0.1
Last Modified: Fri May 12 22:16:40 PDT 2000
It requires Tcl 8.0 or higher and the new Standard Tcl Library
which really puts you up to Tcl 8.3. This uses the
cmdline, base64, ncgi, and html
modules of the Standard Tcl Library.
The Web server runs under either tclsh or wish.
With wish you get a simple GUI that shows some counters.
For a quick test that runs a server on port 8015, do
UNIX:
tclsh bin/httpd.tcl -debug 1
Windows and Macintosh:
Run wish or tclsh and source bin/httpd.tcl
For a complete set of command line options, do
httpd.tcl -help
This lets you set basic parameters like port number and server name.
Version 3.0.1 has minor bug fixes and (hopefully) some improvements
in the bundled distribution.
Version 3.0.0 has three major changes:
* Use of Standard Tcl Library modules. The server looks around for the
tcllib distribution and automatically uses it. One goal of this conversion
is to eliminate the use of the page global array and replace that with
calls to the ncgi module.
* Support for threads. If you configure and build Tclsh with --enable-threads
and you have the Thread extension available, the the server can
use threads to service requests.
* Support for SSL. If you have the "tls" extension installed, then you can
start an SSL server by giving the -https_port command line argument.
Version 2.3.6 is the last in the 2.3 series. It has a few minor
bug fixes. The next release, 3.0, will support threading using
the Thread extension and SSL using the TLS extension.
Version 2.3 changes the way post data is handled.
The various point releases (e.g., 2.3.4) fix important
bugs in cookie handling and the new post data handler.
Version 2.1.6 introduces a configuration file, tclhttpd.rc
You can edit this to tune the set of modules used by the server,
or to hardwire the port, etc.
If you have Scotty installed, then you can try out the SNMP demo.
You'll need to arrange to have the Tnm*.so library on the
auto_path for your shell. I have found that 2.1.5 works
with 8.0a2, but not with 8.0b1 because Tcl_GetFile has gone.
There is a mailing list for users of the Tcl web server.
Send a message containing the word "subscribe" to
[email protected]
or, if that is dead, send email to
[email protected]
to find out the current location of the mailing list
Send messages for the list to
[email protected]
Bugs and comments to the mailing list, or to <[email protected]>
Put "httpd" in the subject of the mail so I can sort it automatically.
The current URL for the distribution can be found in
ftp://ftp.scriptics.com/pub/tcl/httpd/
There is documentation at
http://www.beedub.com/tclhttpd/
http://www.scriptics.com/tclhttpd/
There is a netCVS repository on cvs.scriptics.com.
For details, please see http://www.scriptics.com/products/tcltk/netcvs.html