2 # Needed to pass some %2F tests
7 <IfModule @CGI_MODULE@>
8 ScriptAlias /cgi/ @ServerRoot@/tmp/TestApp/script/testapp_cgi.pl/
11 <IfModule mod_rewrite.c>
12 # Fix trailing slash on /cgi
13 # one CGI test will fail if you don't have mod_rewrite enabled
15 RewriteRule /cgi$ /cgi/ [PT]
19 RewriteRule /rewrite$ /rewrite/ [PT]
20 RewriteRule /rewrite/(.*) /cgi/$1
26 <IfModule mod_fastcgi.c>
27 FastCgiIpcDir @ServerRoot@/tmp/tmp
28 FastCgiServer @ServerRoot@/tmp/TestApp/script/testapp_fastcgi.pl -idle-timeout 300 -processes 1
30 # Test at a non-root location
31 ScriptAlias /fastcgi/deep/path/ @ServerRoot@/tmp/TestApp/script/testapp_fastcgi.pl/
34 ScriptAlias / @ServerRoot@/tmp/TestApp/script/testapp_fastcgi.pl/
36 <IfModule mod_rewrite.c>
39 RewriteRule /fastcgi/deep/path$ /fastcgi/deep/path/ [PT]