Files
harbour-core/harbour/contrib/examples/uhttpd
Francesco Saverio Giudice cb865b0c4c 2009-04-03 01:20 UTC+0200 Francesco Saverio Giudice (info/at/fsgiudice.com)
* harbour/contrib/examples/uhttpd/uhttpd.prg
    + added Application Root folder
      Also as ini command and -a command line switch
    * fixed starting path
    ! fixed CGI/HRB execution path
      now uhttpd runs CGI and HRB pointing to document root
      as execution path. Pay attention to update existing cgi and
      hrb modules.
    + added console rows and cols to alter console display
      either as ini command than as -cr and -cc command line switch
    ! fixed $(APP_DIR) and $(DOCROOT_DIR) macro substitution
      now it is possible to run uhttpd executable from a different
      folder specifying uhttpd.ini path, application root path and
      document root path that may differ from default
    * updated help screen

  * harbour/contrib/examples/uhttpd/uhttpd.ini
    + added new commands
  * harbour/contrib/examples/uhttpd/session.prg
    * work in progress to fix error in session handling
  * harbour/contrib/examples/uhttpd/modules/tableservletdb.prg
    * updated path of test.dbf that now is relative to document root
      and not to application path
2009-04-02 23:21:18 +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