View previous topic :: View next topic |
Author |
Message |
lauwe -
Joined: 21 Jun 2002 Posts: 1
|
Posted: Fri Jun 21, 2002 8:57 pm Post subject: perl script |
|
|
i'm running the abyss webserver and i must say it workes like a charme! :)
Í'm trying to install a perl script and i have followed the steps of installing the perl interpreter on my server. I have put the script in my cgi-bin. But i have to edit the first line. what should that say? (standard says: #!/usr/bin/perl)
where can i find what path i should set?
(i'm sorry if this is a stupid question) |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Sat Jun 22, 2002 4:15 pm Post subject: Re: perl script |
|
|
lauwe wrote: | i'm running the abyss webserver and i must say it workes like a charme! :)
Í'm trying to install a perl script and i have followed the steps of installing the perl interpreter on my server. I have put the script in my cgi-bin. But i have to edit the first line. what should that say? (standard says: #!/usr/bin/perl)
where can i find what path i should set?
(i'm sorry if this is a stupid question) |
It's not a stupid question. If you followed our installation guide, you can ignore this line (and check that the Resolve interpreter using the script's #! line in the CGI Parameters is set to No).
If your perl CGI script have also the extension .cgi, you must also add cgi as an extension handled by your Perl interpreter in the CGI Interpreters table.
For more information, read the documentation (section CGI Scripts). You will find there all that you need on how to setup and run CGI scripts. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
Guest
|
Posted: Wed Sep 18, 2002 1:15 pm Post subject: Re: perl script |
|
|
write this .It is working trust me
#!/usr/local/bin/perl)
try which one with copy/paste to your scipt (name like a test.pl and save into cgi-bin directory)
#!/usr/local/bin/perl)
print "\n";
print "Hello";
and write in Internet Explorer address http/localhost/cgi-bin/test.pl and klick go. |
|
Back to top |
|
|
Guest
|
Posted: Wed Sep 18, 2002 1:17 pm Post subject: Re: perl script |
|
|
sorry for my mistake try again
Anonymous wrote: | write this .It is working trust me
#!/usr/local/bin/perl
try which one with copy/paste to your scipt (name like a test.pl and save into cgi-bin directory)
#!/usr/local/bin/perl
print "\n";
print "Hello";
and write in Internet Explorer address http/localhost/cgi-bin/test.pl and klick go. |
|
|
Back to top |
|
|
|