Index: branches/htmlform/cgi-bin/main.cgi
===================================================================
--- branches/htmlform/cgi-bin/main.cgi	(revision 505)
+++ branches/htmlform/cgi-bin/main.cgi	(revision 511)
@@ -77,4 +77,5 @@
 $header->param(version => $IPDB::VERSION);
 $header->param(addperm => $IPDBacl{$authuser} =~ /a/);
+$header->param(webpath => $IPDB::webpath);
 print "Content-type: text/html\n\n", $header->output;
 
@@ -208,10 +209,10 @@
 # can't do this yet, too many blowups
 #print "Content-type: text/html\n\n", $header->output;
-
+$page->param(webpath => $IPDB::webpath);
 print $page->output;
 
 # include the admin tools link in the output?
 $footer->param(adminlink => ($IPDBacl{$authuser} =~ /A/));
-
+$footer->param(webpath => $IPDB::webpath);
 print $footer->output;
 
