PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Michael Peppler <mpeppler at MBAY dot NET>
Subject: Re: Moving up from Sybperl 4.0 to Sybperl 5.0/web-to-sybase project; need help
Date: Nov 16 1998 5:55PM

Bahri Sofienne writes:
 > Hello,
 > 
 > is it possible to run the CGI scripts under Netscape entreprise Server
 > 2.0 (under unix) instead of using the Apache web Server.

It's of course possible to run CGI scripts under the Netscape
servers. The trick is to find a way to run them under NSAPI (ie so
that they run *in* the server, without a fork()/exec()). I'm pretty
sure that I've seen this done, but I don't remember exactly where or
how.

Michael

 > 
 > Sofienne bahri
 > 
 > 
 > 
 > 
 > Michael Peppler wrote:
 > > 
 > > Bahri Sofienne writes:
 > >  > Hello,
 > >  >
 > >  > I work with perl/sybperl to access a sybase database from the web. I
 > >  > would  like to know the difference between CTlib and Dblib and which one
 > >  > is more performant to use to acces sybase database under unix
 > > 
 > > In terms of speed they're about the same with OC 11.x. With OC 10.x
 > > DBlib is a touch faster.
 > > 
 > > However if speed is an issue you should absolutely consider the Apache
 > > web server with the mod_perl module. That way your scripts run
 > > *inside* the http server, rather than *under* it (ie you don't have to
 > > start the perl interpreter for each request) and this makes a *lot* of
 > > difference.
 > > 
 > > Michael
 > > 
 > >  >
 > >  > Thanks for help
 > >  >
 > >  >
 > >  >
 > >  >
 > >  > Bob Buehler wrote:
 > >  > >
 > >  > > Here are some links for PERL/CGI scripts. Hope they help.
 > >  > >
 > >  > >  http://www.sharewareguide.com/CGIGuide/cgiguide.asp
 > >  > >
 > >  > >  http://www.boutell.com/openfaq/cgi/
 > >  > >
 > >  > > Bob Buehler
 > >  > > State of Texas
 > >  > > Comptroller of Public Accounts
 > >  > > bob.buehler@cpa.state.tx.us
 > >  > > (512)463-4361
 > >  > >
 > >  > >
 > >  > > > -----Original Message-----
 > >  > > > From: owner-SYBPERL-L@listproc.net
 > >  > > > [mailto:owner-SYBPERL-L@listproc.net]On Behalf Of Roleigh Martin
 > >  > > > Sent: Thursday, November 12, 1998 4:05 PM
 > >  > > > To: SybPerl Discussion List
 > >  > > > Subject: Moving up from Sybperl 4.0 to Sybperl 5.0/web-to-sybase
 > >  > > > project; need help
 > >  > > >
 > >  > > >
 > >  > > > Hello,
 > >  > > >
 > >  > > > I just stumbled across the sybperl-listserv today and have looked
 > >  > > > at several of the last months of the archive.
 > >  > > >
 > >  > > > I am currently familiar with sybperl 4.0X (trying to upgrade to
 > >  > > > sybperl 5.0X) and I know the basics of HTML (I have my own web
 > >  > > > site of static pages at
 > >  > > > http://ourworld.compuserve.com/homepages/roleigh_martin which focuses
 > >  > > > on Y2k and the embedded systems threat to core infrastructures -- you
 > >  > > > might find it interesting -- I have published 23 some Y2k articles in
 > >  > > > the trade press).
 > >  > > >
 > >  > > > Anyway, at my "straight" job, I need to be able to do updates and
 > >  > > > selects against a Sybase database on unix from within a web page that
 > >  > > > goes against a unix-hosted web server (we use RS/6000 AIX computers).
 > >  > > >
 > >  > > > Can you give me some starters where to look for documentation, examples,
 > >  > > > etc?  I have never written a cgi script, so that is part of my task to
 > >  > > > learn too.
 > >  > > >
 > >  > > > I have worked with sybase SQL Server for about 6 years though.
 > >  > > >
 > >  > > > Thanks!
 > >  > > >
 > >  > > > Roleigh Martin
 > >  > > >
 > >  > > >
 > >  > > > ------------------------------------------------------------------
 > >  > > >   Roleigh Martin,M.A.            marti124@tc.umn.edu (home email)
 > >  > > >      http://ourworld.compuserve.com/homepages/roleigh_martin
 > >  > > >     ( easy to remember alias is: http://webalias.com/roleigh )
 > >  > > > (A Web Site that focuses on Y2k threat to Core Infrastructures)
 > >  > > >   5511 Malibu Drive, Edina MN 55436 (U.S. Mail Address--home)
 > >  > > >      612-992-4592 (work - 9a-6p, CST); 612-933-3092 (home)
 > >  > > >
 > >  > > >begin:          vcard
 > >  > fn:             Sofienne Bahri
 > >  > n:              Bahri;Sofienne
 > >  > org:            Bell
 > >  > adr;dom:        ;;;MONTREAL;QUEBEC;;
 > >  > email;internet: sofienne.bahri@bell.ca
 > >  > title:          Directeur-CSR
 > >  > tel;work:       + 1 514 391 4114
 > >  > x-mozilla-cpt:  ;0
 > >  > x-mozilla-html: FALSE
 > >  > version:        2.1
 > >  > end:            vcard
 > >  >
 > > 
 > > --
 > > Michael Peppler         -||-  Data Migrations Inc.
 > > mpeppler@mbay.net       -||-  http://www.mbay.net/~mpeppler
 > > Int. Sybase User Group  -||-  http://www.isug.com
 > > Sybase on Linux mailing list: ase-linux-list@isug.combegin:          vcard
 > fn:             Sofienne Bahri
 > n:              Bahri;Sofienne
 > org:            Bell
 > adr;dom:        ;;;MONTREAL;QUEBEC;;
 > email;internet: sofienne.bahri@bell.ca
 > title:          Directeur-CSR
 > tel;work:       + 1 514 391 4114
 > x-mozilla-cpt:  ;0
 > x-mozilla-html: FALSE
 > version:        2.1
 > end:            vcard
 > 

-- 
Michael Peppler         -||-  Data Migrations Inc.
mpeppler@mbay.net       -||-  http://www.mbay.net/~mpeppler
Int. Sybase User Group  -||-  http://www.isug.com
Sybase on Linux mailing list: ase-linux-list@isug.com