# For details, see the HELM World-Wide-Web page,
# http://cs.unibo.it/helm/.
+my $VERSION = "@VERSION@";
+
# First of all, let's load HELM configuration
use Env;
my $HELM_LIB_DIR = $ENV{"HELM_LIB_DIR"};
kill(USR1,getppid());
print " done\n";
answer($c,"<html><body><h1>Update done</h1></body></html>");
+ } elsif ($http_method eq 'GET' and $http_path eq "/version") {
+ print "Version requested!";
+ answer($c,"<html><body><h1>HTTP Getter Version ".$VERSION."</h1></body></html>");
} else {
print "\nINVALID REQUEST!!!!!\n";
$c->send_error(RC_FORBIDDEN)