Re: [cgiwrap-users] RE: CGIWrap (bug?) user group unsure
Brought to you by:
nneul
From: Kyle <ky...@cc...> - 2001-12-20 22:21:26
|
Frank, you're a genius! You can see your script work under CGIWrap on my same server as before at: http://www.otbnetworks.com/cgi-bin/frank.cgi I see from dumping my environment within CGIWrap that /bin is not listed in the path. Gosh I can't believe I missed that. :( I'll make the appropriate changes and let the group know how it turns out. -Kyle Frank Louwers wrote: > > > > > In my PERL scripts, I use commands like these commonly: > > > $hostname = `hostname`; > > > $dir = `pwd`; > > > $date = `date +%c`; > > Very stupid question, but try this: > > #!/usr/bin/perl > print "Content-type: text/html\n\n"; > print "<HTML><BODY>testink\n"; > $hostname = `/bin/hostname`; > print "hostname: $hostname\n"; > > as a script and tell me what you see ... > > Frank |