On Mon, 21 Aug 2006 16:09:13 -0400 Mark Grieveson <[EMAIL PROTECTED]> wrote:
> Thanks for your response. Yes, I suspect that something is wrong with
> the Apache set up, in that it cannot properly execute cgi-bin scripts.
> I'm not sure how to rectify this, though. I did try htsearch from the
> terminal, and it works there. But it does not work from the website.
Running htsearch from the command line is a *very* different proposition
from asking Apache to run it.
OK, put this in a file in cgi-bin with the right permissions and see if it
works from a browser on a different machine:
#!/usr/bin/perl
#
# envprint.pl
# Copied from the Apache docs MikeC 2004 Oct 11
#
print "Content-type: text/html\n\n";
foreach $key (keys %ENV) {
print "$key --> $ENV{$key}<br>";
}
Mike
--
Mike Causer Email - mailto:[EMAIL PROTECTED]
GPG KeyID 1C2DDA07 WWW - http://www.mikecauser.com
Flood the fen again! - Wicken Fen enlargement - http://www.wicken.org.uk
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
ht://Dig general mailing list: <[email protected]>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general