my $HELM_CONFIGURATION_PREFIX = $ENV{"HELM_CONFIGURATION_PREFIX"};
my $HELM_CONFIGURATION_PATH =
$HELM_CONFIGURATION_PREFIX."/local/lib/helm/configuration.pl";
-# next require defines: $helm_dir, $html_link
+# next require defines: $helm_dir, $html_link, $dtd_dir, $uris_dbm
require $HELM_CONFIGURATION_PATH;
tie(%map, 'DB_File', $uris_dbm.".db", O_RDONLY, 0664);
print "Please contact me at: <URL:", $d->url, ">\n";
print "helm_dir: $helm_dir\n";
+print "dtd_dir: $dtd_dir\n";
print "urls_of_uris.db: $uris_dbm.db\n";
$SIG{CHLD} = "IGNORE"; # do not accumulate defunct processes
while (my $c = $d->accept) {
$c->send_response($res);
} elsif ($http_method eq 'GET' and $http_path eq "/getdtd") {
my $filename = $cicuri;
- $filename = $helm_dir."/dtd/".$filename;
+ $filename = $dtd_dir."/".$filename;
print "DTD: $cicuri ==> ($filename)\n";
if (stat($filename)) {
print "Using local copy\n";