perl script

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


Joined: 21 Jun 2002
Posts: 1

PostPosted: Fri Jun 21, 2002 8:57 pm    Post subject: perl script Reply with quote

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 View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Sat Jun 22, 2002 4:15 pm    Post subject: Re: perl script Reply with quote

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 View user's profile Send private message Send e-mail
Guest






PostPosted: Wed Sep 18, 2002 1:15 pm    Post subject: Re: perl script Reply with quote

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






PostPosted: Wed Sep 18, 2002 1:17 pm    Post subject: Re: perl script Reply with quote

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
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