diff options
Diffstat (limited to 'web/server/h2o/libh2o/t/assets/doc_root/hello.cgi')
-rwxr-xr-x | web/server/h2o/libh2o/t/assets/doc_root/hello.cgi | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/web/server/h2o/libh2o/t/assets/doc_root/hello.cgi b/web/server/h2o/libh2o/t/assets/doc_root/hello.cgi new file mode 100755 index 000000000..4401481bf --- /dev/null +++ b/web/server/h2o/libh2o/t/assets/doc_root/hello.cgi @@ -0,0 +1,13 @@ +#! /usr/bin/env perl + +use strict; +use warnings; +use CGI; + +my $q = CGI->new; + +print $q->header("text/plain; charset=utf-8"); +print "Hello ", $q->param("name") || "unknown"; + +close STDOUT; +print STDERR "hello.cgi is shutting down\n"; |