Re-added REDIRECT_URL support with tests
[catagits/Catalyst-Runtime.git] / t / conf / extra.conf.in
1 # CGI
2 <IfModule @CGI_MODULE@>
3     ScriptAlias /cgi/ @ServerRoot@/tmp/TestApp/script/testapp_cgi.pl/
4
5     # REDIRECT_URL test
6     <IfModule mod_rewrite.c>
7         <Location /rewrite>
8             RewriteEngine on
9             RewriteRule /rewrite/(.*) /cgi/$1
10         </Location>
11     </IfModule>
12 </IfModule>
13
14 # FastCGI
15 <IfModule mod_fastcgi.c>
16     FastCgiIpcDir @ServerRoot@/tmp/tmp
17     FastCgiServer @ServerRoot@/tmp/TestApp/script/testapp_fastcgi.pl -idle-timeout 300 -processes 1
18     ScriptAlias /fastcgi/ @ServerRoot@/tmp/TestApp/script/testapp_fastcgi.pl/
19 </IfModule>