
# $Id: httpd.min.conf.src 294707 2004-08-17 06:59:33Z richter $

$minstartup = $EPSTARTUP ;
$minstartup =~ s/startup.pl/startup_dso.pl/ ;

print OFH <<EOD ;
#
# Testconfig for Embperl make test
#
# This file is automaticly generated each time you run make test/make start/make stop
#
HostnameLookups off
ServerAdmin webmaster

ServerRoot \"$EPPATH/test\"
ServerName localhost
DocumentRoot \"$EPPATH/test\"
Listen $EPPORT

EOD

if ($^O ne 'MSWin32')
	{
print OFH <<EOD ;

User $EPUSER
Group $EPGROUP

MinSpareServers 1
MaxSpareServers 30
StartServers 3
MaxClients 10
MaxRequestsPerChild 0


EOD
    }

print OFH "$EPMODPERL\n" ;

print OFH "LoadModule embperl_module \"$EPPATH/blib/arch/auto/Embperl/Embperl.so\"\n" if ($MP2) ;


print OFH <<EOD ;
ErrorLog tmp/httpd.err.log
PidFile tmp/httpd.pid


EOD

if (!$MP2)

    {

print OFH <<EOD ;

AccessConfig conf/null
ResourceConfig conf/null
EOD

    }


print OFH <<EOD ;
TypesConfig conf/null
LockFile tmp/httpd.lock


PerlSetEnv EMBPERL_SRC \"$EPPATH\"
SetEnv EMBPERL_SRC \"$EPPATH\"


PerlRequire \"$EPPATH/test/conf/$minstartup\"
PerlModule Embperl
EOD

