AW: [aseek-users] $html = `/usr/local/aspseek/bin/s.cgi`; won't w ork

From: (no name) (no email)
Date: Wed Aug 14 2002 - 07:17:13 EDT


what does the error.log of your webserver and the dlog.log of
aspseek/searchd say?
check user rights. when you call perl test.pl is this the same user your
webserver
is running...

Markus Rietzler
* <rietzler_software/>
* RZF NRW
* Tel: 0211.4572-130

-----Ursprüngliche Nachricht-----
Von: Denis Banovic [mailto:]
Gesendet am: Dienstag, 13. August 2002 16:45
An: ''
Betreff: [aseek-users] $html = `/usr/local/aspseek/bin/s.cgi`; won't
work

Hi all!

I'm trying to execute the s.cgi and to retreive the output into a perl
variable.
If I try it on the command line it will work fine!
(perl test.pl)

However, if you try to run it on the webserver, by calling /test/test.pl it
won't work.

Here is my 4lines test-script:

#!/usr/bin/perl
print "Content-type: text/html\n\n";
my $html = `/usr/local/aspseek/bin/s.cgi`;
print $html;

Do you have any Idea?

I'm trying to write an wrapper!

Thanks very much!

Denis








Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD