View previous topic :: View next topic |
Author |
Message |
bjpcjp -
Joined: 26 Feb 2004 Posts: 1 Location: Austin, Texas
|
Posted: Fri Feb 27, 2004 12:12 am Post subject: New User - Haven't solved perl script execution step.. |
|
|
Hi everyone,
Another newbie here. Installed Perl & Abyss server packages verbatim from installation instructions (I think). Configured Abyss console to run basic perl scripts, but am still getting text of file returned to me. What other obvious problem areas come to mind?
Here's the script:
==============
#! c:\usr\bin\perl -w
# brian's first script to test abyss web server
print "Content-type: text/html \n\n";
print "<html>", "\n";
print "<head><title>About This Server</title></head>","\n";
print "<body><h1>About This Server</h1>","\n";
print "<hr><pre>";
print "Server Name:", $env{'SERVER_NAME'},"<br>","\n";
print "Running on Port:", $env{'SERVER_PORT'}, "<br>", "\n";
print "Server Software:", $env{'SERVER_SOFTWARE'}, "<br>", "\n";
print "Server Protocol:", $env{'SERVER_PROTOCOL'}, "<br>", "\n";
print "CGI Revision:", $env{'GATEWAY_INTERFACE'}, "<br>", "\n";
print "<hr></pre>","<br>","\n";
print "</body></html>","<br>","\n";
exit(0); _________________ Brian Piercy
Program Manager
Motorola Semiconductor
Austin, TX |
|
Back to top |
|
|
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Fri Feb 27, 2004 1:55 am Post subject: Re: New User - Haven't solved perl script execution step.. |
|
|
bjpcjp wrote: | #! c:\usr\bin\perl -w
|
I believe that may be your problem. Although Abyss is set by default not to find the interpreter by that line, I suggest you try setting it to something like "#!/Perl" (which is what I do). Also, try to use a script that someone else wrote, and is popular; (I have nothing against your scripts, however popular ones are known to usually work). _________________ Bienvenidos! |
|
Back to top |
|
|
Axis -
Joined: 29 Sep 2003 Posts: 336
|
Posted: Fri Feb 27, 2004 5:49 am Post subject: |
|
|
Hi--
I believe the newest version of Abyss will default all shebang lines starting with:
#!
to the Perl interpreter if the line in server configuration/advanced/cgi parameters "Resolve interpreter using the script's #! line?"
is set to "yes" and the CGI Interpreters setting is defined.
(me thinks this is a very cool feature of Abyss!)
Regards,
Axis |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Fri Feb 27, 2004 9:30 pm Post subject: Re: New User - Haven't solved perl script execution step.. |
|
|
bjpcjp,
If you can't solve the problem, please send the script and your abyss.conf file to support@aprelium.com . We'll see what's wrong with your configuration. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
|
|
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
|
|