Fix a few tests for apache-cgi, still not passing all %2F tests or args test
[catagits/Catalyst-Runtime.git] / t / conf / extra.conf.in
1 <IfDefine !APACHE1>
2     # Needed to pass some %2F tests
3     AllowEncodedSlashes on
4 </IfDefine>
5
6 # CGI
7 <IfModule @CGI_MODULE@>
8     ScriptAlias /cgi/ @ServerRoot@/tmp/TestApp/script/testapp_cgi.pl/
9
10     # REDIRECT_URL test
11     <IfModule mod_rewrite.c>
12         <Location /rewrite>
13             RewriteEngine on
14             RewriteRule /rewrite/(.*) /cgi/$1
15         </Location>
16     </IfModule>
17 </IfModule>
18
19 # FastCGI
20 <IfModule mod_fastcgi.c>
21     FastCgiIpcDir @ServerRoot@/tmp/tmp
22     FastCgiServer @ServerRoot@/tmp/TestApp/script/testapp_fastcgi.pl -idle-timeout 300 -processes 1
23     ScriptAlias /fastcgi/ @ServerRoot@/tmp/TestApp/script/testapp_fastcgi.pl/
24 </IfModule>