# Needed to pass some %2F tests
AllowEncodedSlashes on
# CGI
ScriptAlias /cgi/ @ServerRoot@/tmp/TestApp/script/testapp_cgi.pl/
# REDIRECT_URL test
# Fix trailing slash on /cgi
# one CGI test will fail if you don't have mod_rewrite enabled
RewriteEngine on
RewriteRule /cgi$ /cgi/ [PT]
RewriteEngine on
RewriteRule /rewrite$ /rewrite/ [PT]
RewriteRule /rewrite/(.*) /cgi/$1
# FastCGI
FastCgiIpcDir @ServerRoot@/tmp/tmp
FastCgiServer @ServerRoot@/tmp/TestApp/script/testapp_fastcgi.pl -idle-timeout 300 -processes 1
ScriptAlias /fastcgi/ @ServerRoot@/tmp/TestApp/script/testapp_fastcgi.pl/