summaryrefslogtreecommitdiff
path: root/t/inc.t
blob: c9d0bd4e5f4f8cf4fc042ed2d58ef713b9be6dbe (plain)
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
# -*- perl -*-
use lib qw(t lib);
use strict;
use Test;
plan test => 1;

use TestPreproc;

my $obj = new TestPreproc '-compact';
ok($obj->dump_raw, $obj->dump_expect);

__DATA__
!>httpd.conf
# Test configuration file

#
# ServerType is either inetd, or standalone.  Inetd mode is only supported on
# Unix platforms.
#
ServerType standalone

#
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
#
ServerRoot "$server_root"

Include "level1.conf"

PidFile logs/httpd.pid

Include level2.conf
    
!>level1.conf
# First-level include file

#
# Timeout: The number of seconds before receives and sends time out.
#
Timeout 300

#
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to "Off" to deactivate.
#
KeepAlive On
!>level2.conf
# Second-level include file

#
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
#
MaxKeepAliveRequests 100

#
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
#
KeepAliveTimeout 15
!=
ServerType standalone
ServerRoot "$server_root"
Timeout 300
KeepAlive On
PidFile logs/httpd.pid
MaxKeepAliveRequests 100
KeepAliveTimeout 15
!$

Return to:

Send suggestions and report system problems to the System administrator.