why i found after implementing the code below:
======================================
#!/usr/local/tcl7.6-tk4.2/bin/scotty
http bind /* get {
return "Content-type: text/html\n\n"
return "/home/is/giap-c/.public_html/%P"
}
http server 1701
======================================
after i access the server, the result is follow:
> Nice error messages are not yet implemented!
anyway if i delete the line of
>>return "Content-type: text/html\n\n"
it work fine but just return a text file instead of html file.
can't we return the content-type of html?
>> return "Content-type: text/html\n\n"
or could you please point me the error is?
thanks in advance.
//cheng
-- !! This message is brought to you via the `tkined & scotty' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>. !! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.