i am trying to execute a cgi script (which is a tcl script) and i added the
line:
array set HttpdMimeType {
...
.cgi application/tcl <<<<<<<
}
when i try http://localhost/junk.cgi the browser tries the "save to file"
CAN mini-httpd server handle scripts? if so what do i have to do to get me
going?
Yours, Mel
In the comments of my copy of minihttpd.tcl, it says "# This is a
working sample httpd server written entirely in TCL with the CGI and
imagemap capability removed."
-Matt
Mini-httpd doesn't do cgi. However, from what you
are trying to do above, check out Castle at
http://www.smith-house.org/open.html. It's tiny,
fast, and has the ability to let you define new
file extensions for preprocessing.
--
.-. .-. .---. .---. .-..-. | Wild Open Source Inc.
| |__ / | \| |-< | |-< > / | "Making the bazaar just a
`----'`-^-'`-'`-'`-'`-' `-' | little more commonplace."
home: www.smith-house.org | work: www.wildopensource.com