New test to prohibit leading tabs
[catagits/Catalyst-Runtime.git] / t / conf / extra.conf.in
CommitLineData
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
ffd92403 29 ScriptAlias /fastcgi/ @ServerRoot@/tmp/TestApp/script/testapp_fastcgi.pl/
58f5682a 30</IfModule>