Imported Upstream version 2.5.11
[libapache-mod-security.git] / apache2 / t / regression / config / 20-chroot.t
1 ### SecChroot tests
2 # TODO: Will not work as we need root access
3
4 #{
5 #       type => "config",
6 #       comment => "SecChroot",
7 #       httpd_opts => qw(
8 #               -DCHROOT
9 #       ),
10 #       conf => qq(
11 #               # These will be in the chroot
12 #               PidFile /logs/httpd.pid
13 #               ScoreBoardFile /logs/httpd.scoreboard
14 #   User nobody
15 #               Group nogroup
16 #
17 #               SecAuditEngine On
18 #               SecDebugLog $ENV{DEBUG_LOG}
19 #               SecDebugLogLevel 9
20 #               SecAuditLog $ENV{AUDIT_LOG}
21 #               SecAuditLogStorageDir "/logs/audit"
22 #               SecAuditLogType Concurrent
23 #               SecChrootDir "$ENV{TEST_SERVER_ROOT}"
24 #       ),
25 #       match_log => {
26 #               debug => [ qr/./, 1 ],
27 #               audit => [ qr/./, 1 ],
28 #       },
29 #       match_response => {
30 #               status => qr/^200$/,
31 #       },
32 #       request => new HTTP::Request(
33 #               GET => "http://$ENV{SERVER_NAME}:$ENV{SERVER_PORT}/test.txt",
34 #       ),
35 #},