#!/usr/bin/perl

use XCGI;

XCGI::run( {
	'inc'		=> "$ENV{'DOCUMENT_ROOT'}../apps/sample-lib/",
	    #don't use any path separator after $ENV{} - since it will make
	    #your script platform-dependant!!
	'nocache'	=> (0+$ENV{XCGI_DONTCACHE_COMPILED_CODE}),
	    #the line above computes whether to cache compiled scripts in
	    #memory. To prevent XCGI scripts from being cached in memory
	    #(i.e. to force reloading of them on each request - e.g. during
	    #debugging them) uncomment corresponding "Set Env" entry at
	    #the bottom of 'http.conf'

	'module' 	=> 'Mods::mod1',#name of module with implementation
					#of XCGI handler
	'function'	=> 'doit'	#name of sub to execute from that
					#module. Name 'handler' is assumed
					#if the option is not specified.
    } );
