Commit | Line | Data |
690ee036 |
1 | <IfDefine !APACHE1> |
2 | # Needed to pass some %2F tests |
3 | AllowEncodedSlashes on |
4 | </IfDefine> |
5 | |
58f5682a |
6 | # CGI |
7 | <IfModule @CGI_MODULE@> |
ffd92403 |
8 | ScriptAlias /cgi/ @ServerRoot@/tmp/TestApp/script/testapp_cgi.pl/ |
0bcb98c7 |
9 | |
10 | # REDIRECT_URL test |
11 | <IfModule mod_rewrite.c> |
0ef99f8c |
12 | # Fix trailing slash on /cgi |
13 | # one CGI test will fail if you don't have mod_rewrite enabled |
14 | RewriteEngine on |
15 | RewriteRule /cgi$ /cgi/ [PT] |
16 | |
0bcb98c7 |
17 | <Location /rewrite> |
18 | RewriteEngine on |
0ef99f8c |
19 | RewriteRule /rewrite$ /rewrite/ [PT] |
0bcb98c7 |
20 | RewriteRule /rewrite/(.*) /cgi/$1 |
21 | </Location> |
22 | </IfModule> |
58f5682a |
23 | </IfModule> |
24 | |
25 | # FastCGI |
26 | <IfModule mod_fastcgi.c> |
ffd92403 |
27 | FastCgiIpcDir @ServerRoot@/tmp/tmp |
0bcb98c7 |
28 | FastCgiServer @ServerRoot@/tmp/TestApp/script/testapp_fastcgi.pl -idle-timeout 300 -processes 1 |
62fdfd9c |
29 | |
30 | # Test at a non-root location |
31 | ScriptAlias /fastcgi/deep/path/ @ServerRoot@/tmp/TestApp/script/testapp_fastcgi.pl/ |
32 | |
33 | # Test at root |
34 | ScriptAlias / @ServerRoot@/tmp/TestApp/script/testapp_fastcgi.pl/ |
35 | |
36 | <IfModule mod_rewrite.c> |
55a7d985 |
37 | # Fix trailing slash |
62fdfd9c |
38 | RewriteEngine on |
39 | RewriteRule /fastcgi/deep/path$ /fastcgi/deep/path/ [PT] |
40 | </IfModule> |
58f5682a |
41 | </IfModule> |