Kommentare: 6
  • #6

    Boretos (Donnerstag, 07 Januar 2021 09:28)

    Thanx Matthias, I'll check it out...

    regards

  • #5

    mhoffi (Dienstag, 05 Januar 2021 15:34)

    I found a version based on Tcl 8.6.9 on my disk.
    Additionally, I switched from winserv to twapi regarding the service-handling, so everything feels a little different. Here's the new help:

    c:\Users\matthiasu\usr\work\fossilwork.CHECKOUTs\httpdpack5\ZIP-Checkout\httpdpack5-fff96494fd>tclhttpd -?
    tclhttpd.exe 0.92, based on tclhttpd 3.5.1 and Tcl 8.6.9, modified 03/04/2019 22:31:23, MHo
    usage:
    tclhttpd.exe options (normal interactive operation, httpd-options)
    tclhttpd.exe scriptfile scriptargs (execute any tcl script, e.g. for CGIs)
    tclhttpd.exe ::install svcname options (installation as a service, with httpd-options)
    tclhttpd.exe ::delete svcname (de-installation of service, alternative to sc delete)
    tclhttpd.exe ::start svcname (start the service, alternative to net start)
    tclhttpd.exe ::stop svcname (terminate the service, alternative to net stop)
    tclhttpd.exe ::pause svcname (halt the service, alternative to net pause)
    tclhttpd.exe ::continue svcname (resume the service, alternative to net continue)
    tclhttpd.exe ::showconf svcname (display service configuration)
    tclhttpd.exe ::state svcname (display service state)
    Options:
    -virtual value Virtual host config list <>
    -config value Configuration file <C:/Users/matthiasu/usr/work/fossilwork.CHECKOUTs/httpdpack5/ZIP-Checkout/httpdpack5-fff96494fd/tclhttpd.exe/bin/tclhttpd.rc>
    -main value Per-Thread Tcl script <C:/Users/matthiasu/usr/work/fossilwork.CHECKOUTs/httpdpack5/ZIP-Checkout/httpdpack5-fff96494fd/tclhttpd.exe/bin/httpdthread.tcl>
    -docRoot value Root directory for documents <C:/Users/matthiasu/usr/work/fossilwork.CHECKOUTs/httpdpack5/ZIP-Checkout/httpdpack5-fff96494fd/tclhttpd.exe/bin/../htdocs>
    -port value Port number server is to listen on <8015>
    -host value Server name, should be fully qualified <desktop-ai70a0o>
    -ipaddr value Interface server should bind to <>
    -https_port value SSL Port number <8016>
    -https_host value SSL Server name, should be fully qualified <desktop-ai70a0o>
    -https_ipaddr value Interface SSL server should bind to <>
    -webmaster value E-mail address for errors <webmaster@desktop-ai70a0o>
    -uid value User Id that server runs under <50>
    -gid value Group Id for caching templates <50>
    -secs value Seconds per "minute" for time-based histograms <60>
    -threads value Number of worker threads (zero for non-threaded) <10>
    -library value Dir list where custom packages and auto loads are <C:/Users/matthiasu/usr/work/fossilwork.CHECKOUTs/httpdpack5/ZIP-Checkout/httpdpack5-fff96494fd/tclhttpd.exe/bin/../custom>
    -debug value If true, start interactive command loop <0>
    -compat value Version compatibility to maintain <3.3>
    -gui value Flag for launching the user interface <1>
    -mail value Mail Servers for sending email from tclhttpd <>
    -LogFile value Location and name prefix for logfiles <C:/Users/MATTHI~1/AppData/Local/Temp/log>
    -tclcgi value Runtime to execute tcl-CGIs <c:/Users/matthiasu/usr/work/fossilwork.CHECKOUTs/httpdpack5/ZIP-Checkout/httpdpack5-fff96494fd/tclhttpd.exe>
    -AuthDefaultFile value Location for internal authfile <C:/Users/MATTHI~1/AppData/Local/Temp/tclhttpd.default>
    -morehelp Show a few background infos
    -- Forcibly stop option processing
    -help Print this message
    -? Print this message

  • #4

    mhoffi (Dienstag, 05 Januar 2021 15:14)

    Hello Nikos,
    it's years ago since I dealt with tclhttpd. I'm not sure you grabbed the latest version, and on my personal disk there's a little chaos regarding tclhttpd. I'll investigate further and contact you.
    Cheers

  • #3

    Boretos (Dienstag, 05 Januar 2021 09:49)

    Hi,
    I'm using your wrapped tclhttpd executable, and it's wonderfull. It is based on tcl8.6b1 and I need to use tcl8.66 (maybe evel newer) as I can load a binat lib into this version (tclNAP) but not others.
    I tried unwrapping your exe and rewrapping with -runtime flag tclkit8.66.exe but it still returns 8.6b1 exe.
    In general, I have only found one tclhttpd version somewhere that works with <8.5
    Tx,
    nikos at maich dot gr

  • #2

    Maksym Zinchenko (Dienstag, 08 Dezember 2020 18:48)

    Hello There :)

  • #1

    MHo (Donnerstag, 30 August 2018 13:04)

    Selbsttest!