3 # First of all, let's load HELM configuration
5 my $HELM_LIB_DIR = $ENV{"HELM_LIB_DIR"};
6 # this should be the only fixed constant
7 my $DEFAULT_HELM_LIB_DIR = "/projects/helm/on-line/local/lib/helm";
8 if (defined ($HELM_LIB_DIR)) {
9 $HELM_LIB_PATH = $HELM_LIB_DIR."/configuration.pl";
11 $HELM_LIB_PATH = $DEFAULT_HELM_LIB_DIR."/configuration.pl";
14 # next require defines: $helm_dir, $html_link, $dtd_dir, $uris_dbm
15 require $HELM_LIB_PATH;
19 $cgi = new CGI($ENV{"REQUEST_URL"});
20 $uri = $cgi->param('uri');
23 Content-type: text/html
25 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
26 "http://www.w3.org/TR/REC-html40/loose.dtd">
29 <title>Control panel</title>
30 <script language="JavaScript" src="http://phd.cs.unibo.it/helm/javascript/control.js">
33 <body bgcolor="#ffffff" text="#000000">
37 <font size="+3" face="Helvetica,Arial,sans-serif"><b>Index of $uri</b></font>
38 <hr noshade align="left" width="80%">