Debian Codegraph @

test/conf/httpd.min.conf.src

raw
1
2 # $Id: httpd.min.conf.src 1571436 2014-02-24 20:55:11Z richter $
3
4 $minstartup = $EPSTARTUP ;
5 $minstartup =~ s/startup.pl/startup_dso.pl/ ;
6
7 print OFH <<EOD ;
8 #
9 # Testconfig for Embperl make test
10 #
11 # This file is automatically generated each time you run make test/make start/make stop
12 #
13 HostnameLookups off
14 ServerAdmin webmaster
15
16 ServerRoot \"$EPPATH/test\"
17 ServerName localhost
18 DocumentRoot \"$EPPATH/test\"
19 Listen $EPPORT
20
21 EOD
22
23 if ($^O ne 'MSWin32')
24 {
25 print OFH <<EOD ;
26
27 User $EPUSER
28 Group $EPGROUP
29
30 MinSpareServers 1
31 MaxSpareServers 30
32 StartServers 3
33 MaxClients 10
34 MaxRequestsPerChild 0
35
36
37 EOD
38 }
39
40 print OFH "$EPMODPERL\n" ;
41
42 print OFH "LoadModule embperl_module \"$EPPATH/blib/arch/auto/Embperl/Embperl.so\"\n" if ($MP2) ;
43
44
45 print OFH <<EOD ;
46 ErrorLog tmp/httpd.err.log
47 PidFile tmp/httpd.pid
48
49
50 EOD
51
52 if (!$MP2)
53
54 {
55
56 print OFH <<EOD ;
57
58 AccessConfig conf/null
59 ResourceConfig conf/null
60 EOD
61
62 }
63
64
65 print OFH <<EOD ;
66 TypesConfig conf/null
67 EOD
68
69 if ($EPAPACHEVERSION !~ /2\.4\./)
70 {
71 print OFH "LockFile tmp/httpd.lock\n" ;
72 }
73
74 print OFH <<EOD ;
75
76 PerlSetEnv EMBPERL_SRC \"$EPPATH\"
77 SetEnv EMBPERL_SRC \"$EPPATH\"
78
79
80 PerlRequire \"$EPPATH/test/conf/$minstartup\"
81 PerlModule Embperl
82 EOD
83