Re: Problem reading from STDIN

2000-11-08 Thread Pramod Sokke
this mean I have to change our legacy code to reflect this? Thanks, Pramod - Original Message - From: G.W. Haywood <[EMAIL PROTECTED]> To: Pramod Sokke <[EMAIL PROTECTED]> Cc: modperl <[EMAIL PROTECTED]> Sent: Wednesday, November 08, 2000 9:26 AM Subject: Re: Problem rea

Problem reading from STDIN

2000-11-07 Thread Pramod Sokke
Hi all,   We've moved all our old perl cgi scripts to run under mod_perl(PerlRun) now. There's a peculiar problem I'm seeing with POST requests. Basically, I'm not able to read anything from stdin at all. For eg, if I just have a form that takes some data, that data is just not available at

AuthDBI - semget failed problem

2000-10-03 Thread Pramod Sokke
Hi all,   I'm trying to set up Authentication using Apache::AuthDBI. I'm establishing db connections at startup. I've set $Apache::DBI::DEBUG = 2.   When I start the server, I get the following message for every child process: Apache::AuthDBI PerlChildInitHandler semget failed   And

Re: mod perl compilation problem

2000-09-19 Thread Pramod Sokke
ood. - Original Message - From: Dhananjay Naniwadekar <[EMAIL PROTECTED]> To: Pramod Sokke <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, September 19, 2000 8:42 PM Subject: RE: mod perl compilation problem > Goodness, Pramod. You seem to be a guru. > I h

Re: mod perl compilation problem [10014208]

2000-09-19 Thread Pramod Sokke
@INC is the default path for all Perl libs. This is set at your Perl installation time, but can be modified by various number of ways. You can check out any Perl documentation for that. Now for the main task in hand. You are using Stronghold 3.0 and that comes with it's own distribution of Perl an

Benchmarking utlis?

2000-09-12 Thread Pramod Sokke
Hi all,   Are there any benchmarking utilities/guidelines that I can use to prove the performance boost with mod_perl? We just moved all our old cgis to work under mod_perl. I'm using Solaris 2.7/Apache 1.3.12/mod_perl 1.24. Thanks, Pramod

Re: Help for installation....

2000-09-06 Thread Pramod Sokke
Derrick, We've all had the same problem with running 'make test' under stronghold. All my queries to the Stronghold folk about this went unanswered. Carl Hansen detailed me about the steps to go through for a successful installation and advised not to run 'make test'. I followed exactly that and

Persistent db with PerlRunOnce On?

2000-08-16 Thread Pramod Sokke
Hi, Solaris 2.7/Apache 1.3.12/mod_perl 1.24 with Apache::PerlRun (PerlRunOnce On) Is it possible to establish db connection pooling with PerlRunOnce On? I'm just moving all our old extremely dirty scripts to mod_perl. I'm noticing random behaviour of fresh connections being made to the db inspit

RE: DB persistence

2000-08-16 Thread Pramod Sokke
>There's an Apache::Sybase::DBlib module floating around somewhere that >you could use if you don't want to make all those changes. I'm right now using that module and it's with that module that I'm getting the message in my error logs about establishing connection to db for every connect call.

RE: DB persistence

2000-08-16 Thread Pramod Sokke
Hmmm, the reason I'm not using Apache::DBI right now is coz our current scripts are using DBlib to talk to Sybase. Looks like I have to make thousands of changes all over the place after all and start using DBI. Those of you folks already using Apache::DBI, can you tell me what kind of message is

DB persistence

2000-08-16 Thread Pramod Sokke
Hi all, I think I misled everybody with my previous question on this topic. To put it in simple words: Apache 1.3.12/mod_perl 1.24/Solaris 2.7 I'm establishing db connection at server startup and the logs indicate that's done. But in my subsequent calls to 'connect' in my scripts, I see the same

Re: Persistent db connectivity

2000-08-15 Thread Pramod Sokke
I mentioned that I'm using Apache::Sybase::CTlib and not Apache::DBI for persistent connectivity. Moreover, if the module is not declared and I try to connect in the startup file, the server won't even start. So that's obviously taken care of. My question is more of, how do I know for sure that my

Persistent db connectivity

2000-08-15 Thread Pramod Sokke
Hi, I'm using Apache::Sybase::CTlib to establish persistent db connectivity in an effort to move our quite old and extremely dirty scripts from Netscape onto Apache with mod_perl. I'm establishing this connection on server startup and I haven't changed anything in my scripts. The above-mentioned

Problem with link

2000-08-01 Thread Pramod Sokke
Hi, I have Stronghold installed with mod_perl and running under PerlRun. There are some files on the system that have symbolic links. mod_perl is complaining about accessing these symbolic links. However, with mod_perl turned off, everything works fine. Any ideas? Thanks, Pramod

Re: mod_perl success!

2000-08-01 Thread Pramod Sokke
PerlRunOnce On and I got this error: Invalid command 'PerlRunOnce', perhaps mis-spelled or defined by a module not included in the server configuration. -Pramod At 04:25 PM 7/25/00 -0700, Andrew Chen wrote: >On Tue, 25 Jul 2000, Pramod Sokke wrote: > >> Andrew, &g

Re: Apache/mod_perl, addendum

2000-07-27 Thread Pramod Sokke
Jul 27, 2000 at 02:05:22PM -0700, Carl Hansen wrote: >> On Thu, Jul 27, 2000 at 12:02:42PM -0700, Pramod Sokke wrote: >> > Hi, >> > >> > I'm trying to install mod_perl 1.24 with Stronghold 3. I know stronghold >> > comes with mod_perl 1.22, but I want to

Re: Apache/mod_perl

2000-07-27 Thread Pramod Sokke
to the mod perl servers. > >I've used stronghold in 3 or 4 high demand apps and its a fantastic >low cost solution. However, we are starting moving to more hardware >based solutions and away from stronghold. > >John Armstrong > >At 11:01 AM -0700 7/7/00, Pramod Sokke wro

Re: why would I use mod_perl instead of Perl ?

2000-07-18 Thread Pramod Sokke
Here's what our experienced peers have advised me earlier. Thanks guysit's been a great help! Richard Dice says: Your "regular old CGI Perl scripts" are going to be ported to mod_perl most easily using one of 2 different Apache/mod_perl modules: * Apache::Registry * Apache::PerlRun To b

Re: why would I use mod_perl instead of Perl ?

2000-07-18 Thread Pramod Sokke
Of course that's a "too big" question. There are tons of great reasons for one to move over to mod_perl, but it all depends on what your specific needs are. Check out some stuff about mod_perl on Apache's site and see if that's of any relevance to what you are working on. If you decide it's great

Re: Idea of an apache module

2000-07-12 Thread Pramod Sokke
So is it true that Netscape has a better performance than Apache 1.3? Here, we are trying to move over from Netscape to Apache not so much coz of performance issues with the web server, but more to add mod_perl/fastcgi and cool stuff like that. -Pramod At 12:18 PM 7/12/00 +0200, Luis Henrique Ca

Re: Idea of an apache module

2000-07-12 Thread Pramod Sokke
So is it true that Netscape has a better performance than Apache 1.3? Here, we are trying to move over from Netscape to Apache not so much coz of performance issues with the web server, but more to add mod_perl/fastcgi and cool stuff like that. -Pramod At 12:18 PM 7/12/00 +0200, Luis Henrique Ca

Best book

2000-07-11 Thread Pramod Sokke
Any ideas on which is the best book available out there for mod_perl?

Re: Apache/mod_perl

2000-07-07 Thread Pramod Sokke
Has anybody used stronghold? I'm considering using stronghold for SSL support since ours is a commercial application. Would mod_perl and all related modules work as fine with Stronghold as with plain Apache? Thanks, Pramod At 10:24 AM 7/7/00 -0400, Vivek Khera wrote: >>>>>&g

Re: Apache : mod_perl vs fastcgi

2000-07-06 Thread Pramod Sokke
>1) I installed apache with mod_perl - the speed increased.But I didn't >understand HOW mod_perl optimizes use of resources and increases speed ? >Does it share perl interpreter, script or anything else? The Perl runtime library is linked into the server. The persistent interpreter embedded in th

Re: Apache/mod_perl

2000-07-06 Thread Pramod Sokke
previous experience with FastCGI, it handles both Perl and C cgi scripts the same way. And from what I gather from reading about mod_perl, this is meant for Perl scripts only. Thanks, Pramod At 09:56 PM 7/6/00 +0100, David Hodgkinson wrote: > >Pramod Sokke <[EMAIL PROTECTED]> writes: &g

Apache/mod_perl

2000-07-06 Thread Pramod Sokke
Hi, We are running Netscape Enterprise server with cgis written in perl and C. I'm looking at moving over to Apache and start using mod_perl. How simple/complex do you think the process is going to be? There are tons of scripts distributed all over the place here. Would moving over to Apache/mod_