> 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

Reply via email to