Perl not working

 
Post new topic   Reply to topic    Aprelium Forum Index -> Perl
View previous topic :: View next topic  
Author Message
Turbopp
-


Joined: 24 Apr 2004
Posts: 1

PostPosted: Sat Jul 03, 2004 10:49 pm    Post subject: Perl not working Reply with quote

Hi the perl scripts in my cgi-bin directory are not working.... these are simple scripts that only show you the path of your cgi bin locations etc... when I call this script I get this:

#!/usr/bin/perl print "Content-type:text/html\n\n"; print < EndOfHTML foreach $key (sort(keys %ENV)) { print "$key = $ENV{$key}
\n"; } print "";

Like I said it is a really simple script that works on all of the other web servers... but not on this one.. Im thinking of reinstalling the web server but Im not sure if it will work? Can any one shed any light?
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Tue Jul 06, 2004 12:09 am    Post subject: Re: Perl not working Reply with quote

Turbopp,

Install Perl support in Abyss Web Server as explained in http://www.aprelium.com/abyssws/perl.html . Then set the extension of file where the Perl code is to .pl or .cgi (for example test.pl or test.cgi) and put it somewhere in your web site directory.
Either remove the first line starting with #! or set "Resolve the interpreter using the #! line" to "No" in CGI Parameters. Save you settings and restart (in the console.)
Now browse your Perl script and it should work fine.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> Perl All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group