With the pl extension you don't really need to use the hash line with Sambar
but if the scripts are to be used somewhere else it is a good policy to use
it. I think if you remove the entry for the location of perl within the
config.ini and do a restart you'll find that the hash line will work with pl

Peter
----- Original Message -----
From: "feliciahk" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 18, 2001 1:03 AM
Subject: Re: [sambar] How to use CGI ?


> > Change the extension to .cgi and you can set the she-bang.
>
> You are absolutely right Melvyn! I've changed the extension from .pl to
.cgi
> and immediately the she-bang is recognised.
>
> Is there a way to set she-bang with extension of .pl?
>
> Thanks
>
> ----- Original Message -----
> From: Melvyn Sopacua <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, October 17, 2001 4:35 PM
> Subject: Re: [sambar] How to use CGI ?
>
>
> > At 06:42 17-10-01, you wrote:
> >
> > >Without any other alteration except the config file mentioned above, I
> noted
> > >that Sambar disregard the first line shebang #! and most probably treat
> the
> > >shebang as a comment #. Is this the way Sambar works? Have I missed
> > >anything? or maybe this is the way ActivePerl works.
> >
> > As I posted earlier:
> > "The Sambar Server attempts to discover the interpreter for the CGI
using
> > the following search path (in order):
> > � .pl, .bat and .exe file extensions are associated with by the Sambar
> > Server using their pre-defined interpreters.
> > � Look for an interpreter on the first line of the file (#! syntax)
> > � Look for a File Association with the extension "
> >
> > Change the extension to .cgi and you can set the she-bang.
> >
> >
>
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
> --------------------------------------------------------------------------
------
> For unsubscription of this list send an email to [EMAIL PROTECTED] with
email
> data containing unsubscribe emailadd sambar
>


--------------------------------------------------------------------------------
For unsubscription of this list send an email to [EMAIL PROTECTED] with email
data containing unsubscribe emailadd sambar

Reply via email to