From: Bruce W. <wi...@ch...> - 2005-06-19 04:11:14
|
Larry Roudebush wrote: > My only concern is these lines in headercontroller.pl and > headercontrol.pl > my $rootdir = "$Pgm_Path"; > $rootdir =~ s/\/bin//; > #print "myroot:$rootdir\n"; > if ($config_parms{html_dir} =~ /.\/../){ > #print "Non hardcoded web directory"; > my $roothtmldir = $config_parms{html_dir}; > $roothtmldir =~ s/.\/..//; > $codedhtmlrootdir = "$rootdir$roothtmldir"; > #print "$codedhtmlrootdir\n"; > }else{ > $codedhtmlrootdir = "$config_parms{html_dir}"; > } > In this I am trying to extract a hardcoded directory for the > location of all the web files so that I can search only in that > location. Let me know if there is a better way. Sorry, it didn't work here. I got this when I ran 'get header files' and when I pushed the submit button from the setup web page: myroot:H:\misterhouse\mh\bin 06/18/05 23:05:43 Oops2: Can't stat H:\misterhouse\mh\bin/web: No such file or directory I'm afraid I don't quite follow how or what this code is doing. Maybe you could describe it a bit and I could help get it working. My http_server.pl file matched yours, not sure if you expected updates there or not. Bruce |