Browse Source
lighttpd tests do not depend on CGI.pm. remove *unused* file tests/docroot/www/404.fcgi which used CGI::Fast, which depends on CGI.pm.personal/stbuehler/mod-csrf
2 changed files with 0 additions and 28 deletions
@ -1,27 +0,0 @@
|
||||
#!/usr/bin/env perl |
||||
|
||||
use CGI::Fast qw(:standard); |
||||
|
||||
while (new CGI::Fast) { |
||||
my $request_uri = $ENV{'REQUEST_URI'}; |
||||
print (STDERR "REQUEST_URI: $request_uri\n"); |
||||
if ($request_uri =~ m/^\/dynamic\/200\// ) { |
||||
print header ( -status => 200, |
||||
-type => 'text/plain' ); |
||||
print ("found here\n"); |
||||
} |
||||
elsif ($request_uri =~ m|^/dynamic/302/| ) { |
||||
print header( -status=>302, |
||||
-location => 'http://www.example.org/'); |
||||
} |
||||
elsif ($request_uri =~ m/^\/dynamic\/404\// ) { |
||||
print header ( -status => 404 |
||||
-type => 'text/plain' ); |
||||
print ("Not found here\n"); |
||||
} |
||||
else { |
||||
print header ( -status => 500, |
||||
-type => 'text/plain'); |
||||
print ("huh\n"); |
||||
}; |
||||
}; |
Loading…
Reference in new issue