#!/usr/bin/perl path

 
Post new topic   Reply to topic    Aprelium Forum Index -> FastCGI/CGI
View previous topic :: View next topic  
Author Message
noobies
-


Joined: 07 Nov 2002
Posts: 6

PostPosted: Sun Nov 10, 2002 5:32 pm    Post subject: #!/usr/bin/perl path Reply with quote

wat do i put in the #!/usr/bin/perl path

i'm on window. so do i need to worry about it? or do i delete that line off the cgi scripts.

by delecting it, will it mess up my cgi script?
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Mon Nov 11, 2002 12:34 am    Post subject: Re: #!/usr/bin/perl path Reply with quote

noobies wrote:
wat do i put in the #!/usr/bin/perl path

i'm on window. so do i need to worry about it? or do i delete that line off the cgi scripts.

by delecting it, will it mess up my cgi script?

If you setup Perl by following our instructions at http://www.aprelium.com/abyssws/perl.html , you can ignore these lines (as the server will ignore them.) It will rely only on the script extension to know which scripting language to use.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
the general
Guest





PostPosted: Thu Nov 14, 2002 9:25 am    Post subject: Reply with quote

on my system the shebang line is:

#!D:/sam/perl/bin/perl.exe - Windows NT / windows 98 and so on

find where your path to perl is
and you will be set, depending on the format
of the cgi or pl scripts and server type you may need to type in the shebang line
like this:

#!D:\sam\perl\bin\perl.exe - NT / UNIX ?

hope I was of some help to you :)
Back to top
tobi
Guest





PostPosted: Mon Nov 25, 2002 9:53 am    Post subject: shebang Reply with quote

if you did a standard installation of activeperl, the shebang line is:

#!C:/perl/bin/perl.exe

works great on my xp system
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> FastCGI/CGI 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