[html::description "TclHttpd, the Tcl Web Server, is an extensible
platform for web application development."]
[html::keywords Tcl TclHttpd Tcl/Tk "Tcl Web Server" "Web Server"]
[html::author "Brent Welch"]
[mypage::header "TclHttpd Home Page"]
[Doc_Dynamic]

[clock format [clock seconds] -format "%B %d, %Y %H:%M:%S"]

[if {[Url_PrefixExists /tclpro]} {
    set _ "
	 
	 TclPro Documentation
	
"
}]
<p>
The TclHttpd is a pure Tcl implementation of a Web server.
It runs as a Tcl script on top of
Tcl (http://www.tcl.tk/software/tcltk/).
This server is running Tcl $tcl_patchLevel.
There is more TclHttpd version information
about using other versions of Tcl and the Standard Tcl Library (tcllib).
<p>

While this server works fine as a stand alone web server, the
intent is to embed the server in other applications in order to
"web enable" them.
A Tcl-based web server is ideal for embedding
because Tcl was designed from the start
to support embedding into other applications.
The interpreted nature of Tcl allows dynamic reconfiguration of the
server. Once the core interface between the web server and the hosting
application is defined, it is possible to manage the web server, upload
Safe-Tcl control scripts, download logging information, and otherwise
debug the Tcl part of the application without restarting the hosting
application.
<p>
[html::if {[file exists [file join $Doc(root) license.terms]]} {
  The server is distributed under a copyright that allows free use.
}]

<p>
The tclhttpd-users@lists.sourceforge.net (mailto:tclhttpd-users@lists.sourceforge.net) mailing list is the best source of current
information about TclHttpd.

Related Articles

[mypage::README_links]

The main TclHttpd Information Page (http://www.tcl.tk/software/tclhttpd/).
<p>
A Tcl Httpd Book Chapter from the
3rd Edition of
Practical Programming in Tcl and Tk (http://www.beedub.com/book)
by Brent Welch.
<p>
The white
paper (http://www.tcl.tk/software/tclhttpd/server.html) presents a case for an embedded web server from more of a
business angle.

Control/Status Pages

- Server statistics. 
Home hits: [counter::get hit -hist /]
- Control panel 

Documentation

- Manual pages.
- Templates with inline Tcl.
- Access control schemes. 
- [html::if {[info commands "::learn::links"] == "::learn::links"} {
  [::learn::links \n
- ]
} else {
  Learn more
}]

Test Pages

- View Guest Book
- Update Guest Book
- Server includes 
- CGI  You probably need to install the Standard Tcl Library for this.
- Imagemaps 
- Sample missing page
- A page that raises an error
- A directory listing page

[mypage::footer]
