Files
harbour-core/harbour/contrib/examples/uhttpd
Francesco Saverio Giudice 5fe6e5393b 2009-03-03 23:56 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com)
* harbour/contrib/examples/uhttpd/uhttpd.prg
    * Updated uHTTPD (Work in progress)
      ! Fixing memory usage attempt.
        Set PRIVATE vars to NIL when not more used and force
        collect memory with hb_GCAll( .T. )
      * Set Service Threads initial value to 0
      + Added support for directory index files
      + Added support for filters (WIP)
      * Added creation of error.log file in case of error
      * Minor changes
  * harbour/contrib/examples/uhttpd/cgifunc.prg
    * Fixed comment
  * harbour/contrib/examples/uhttpd/uhttpd.ini
    + DirectoryIndex entry
  ; NOTE: Please check me for memory usage. I have added a comment
          // FSG - memory check
          to interested lines. But I'm not sure if this solves the
          problem.
2009-03-03 22:58:09 +00:00
..

/*
 * $Id$
 */

uHTTPD micro web server

Build it without GD: ..\..\..\bin\hbmk uhttpd.hbm
Build it with    GD: ..\..\..\bin\hbmk uhttpdgd.hbm
  [ This one needs bgd.dll. Please download it from:
  http://www.libgd.org/releases/gd-latest-win32.zip ]

Add -DUSE_HB_INET to command line if you want to use Harbour's
built-in socket functions.

To see accepted parameters run: uhttpd -?
Parameters can also be defined using uhttpd.ini file.

Before starting please build modules in modules folder using bldhrb.bat

Once started connect to uhttpd using:
http://localhost:8082
to see default index page.

Francesco