]> jspc29.x-matter.uni-frankfurt.de Git - daqtools.git/commitdiff
changed http header for pwr on httpi
authorMaps <maps@ikf>
Mon, 2 Dec 2013 17:07:07 +0000 (18:07 +0100)
committerMaps <maps@ikf>
Mon, 2 Dec 2013 17:07:07 +0000 (18:07 +0100)
web/htdocs/tools/pwr/pwr.pl

index ac0f4ebd7a165702b7d4e3228e08e5a0c92772ad..b85167d7cb93fdafac50b54aafc093a555cb55c3 100755 (executable)
@@ -1,4 +1,7 @@
 #!/usr/bin/perl -w
+if ($ENV{'SERVER_SOFTWARE'} =~ /HTTPi/i) {
+  &htsponse(200, "OK");
+  }
 print "Content-type: text/html\n\n";