First, a must,  you need to edit the file config.ini in the
d\sambar50\config\
folder and change in the [http] section

Perl Executable = d:/perl/bin/perl.exe
CGI Extensions = *.cgi *.pl

About CGI Extensions, you can create your own
extension like *.felicia as long as you add it to the line
above(ex:CGI Extensions = *.felicia *.cgi *.pl)
and you must create an association in the file options in
windows explorer like you associate MP3 files to
WINAMP player.

May I suggest using "isapi" by editing the file
"mappings.ini"(also in d\sambar50\config\) and adding the
line:

[isapi]
*.cgi *.pl *.felicia= d:/perl/bin/perlis.dll

You still need to create an association in the file options in
 windows explorer for the extension *.felicia.
Then,  you don't even need to add the path line on top:
#!d:/perl/bin/perl -w

All the slashes must be / and not \ in both config.ini and
mappings.ini

See example of created extension at:
http://www.ecommercefacile.com/domain3.jopel

jopel


----- Original Message -----
From: "feliciahk" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 16, 2001 6:15 AM
Subject: Re: [sambar] How to use CGI ?


> Thanks,
>
> I have installed activePerl from activestate and it is working fine from
Dos
> Prompt, It shows all the kinds of errors, no problem at all.
>
> When I installed sambar, I noted that by default, perl is found in one of
> its subfolder.
>
> > Just install Perl an change the path to the perl interpreter in a
> > windows style ...
>
> I would appreciate if members could teach me step by step how to change
the
> "path" or whatever so that if my perl script has an error, the types of
> error is shown in the browser MSIE.
>
> Using win98,
> my activePerl = d:\perl
> my sambar = d:\sambar50
>
> Sigh !!! Very frustrating trying to figure out.
> Thanks.
>
>
>
> ----- Original Message -----
> From: Oliver P. <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, October 16, 2001 5:33 PM
> Subject: Re: [sambar] How to use CGI ?
>
>
> > DId you have installed perl on your webserver ????
> > If so you have to change the location of your perl interpreter.
> > The line you have send is for unix machines ....
> > Just install Perl an change the path to the perl interpreter in a
> > windows style ... You can get a good perl interpreter from
> > activestate
> >
> > cu
> > > Hi,
> > >
> > > I am a newbie and have just installed sambar on my windows98. I
> > installed it
> > > to test my perl script offline using MS Internet explorer.
> > However I noted
> > > if there is an error on my script, it does not show what kind
> > of errors even
> > > though my perl script have
> > > the following lines :-
> > >
> > > #!/usr/bin/perl -w
> > > use CGI::Carp qw(fatalsToBrowser);
> > >
> > > What must I do / install?
> > >
> > > Thanks in Advance.
> > >
> > >
> > > _________________________________________________________
> > > 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
> >
>
>
>
> _________________________________________________________
> 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