File: httpd.min.conf.src

package info (click to toggle)
libembperl-perl 2.0rc3-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 5,688 kB
  • ctags: 5,161
  • sloc: ansic: 20,422; perl: 10,064; makefile: 5,134; cpp: 467; xml: 49; sh: 14
file content (77 lines) | stat: -rw-r--r-- 1,109 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77

# $Id: httpd.min.conf.src,v 1.3 2004/08/17 06:59:33 richter Exp $

$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