my last post had an error, this one is correct:

Thanks, adam, for your suggestion: 

Cherie, 

I followed what you did on my own setup (XP home - don't think that it
makes a difference although there may be a permissions issue in XP
professional) running Sambar V6.1. 

I didn't get any errors when renaming the pl file. 

How did you install active perl? Did you make any alterations to
smabars config file? 

I think sambar comes with it's own perl interpreter located at
c:\sambar\perl\. 

At the top of all your pl documents should be #!/usr/bin/perl. 

I would start by removing active perl and seeing where that gets you.
I think there is an uninstaller with that one. 

Once unistalled, see what happens. Post back when you've done that and
let us know how it goes? 

Adam
------------------------------------------------------------------------------------

I uninstalled sambar from C:\temp\sambar60-1\ 
I downloaded it again and reinstalled it. There is a subdirectory
named 'docs' and one named 'cgi-bin' and one named 'perl' 
The sample script called environ.pl works if I use
http://127.0.0.1/cgi-bin/environ.pl in IE. 
But the following script, located at
http://127.0.0.1/cgi-bin/simplest.pl will not work on IE: 

#!C:\temp\sambar60-1\perl\perl.exe -wT 
print "Content-type: text/html\n\n"; 
print "Simplest possible script"; 
END 

Now I'm getting an "internal system error"! 

I feel the problem is somehow related to the path is not right. 
I'm now confused more but I am gaining on it. Thanks to everybody. 
Cherie

P.S. The script fails also if the first line is      #!/usr/bin/perl

-------------------------------------------------------
To unsubscribe please go to http://www.sambar.ch/list/



Reply via email to