Re: How to know PID of DB backend ?

1999-10-30 Thread Greg Stark
Oleg Bartunov <[EMAIL PROTECTED]> writes: > Using ApacheDBI I keep persistent connections between > httpd and db. Now I want to know PIDs of httpd children and > database backend. For the httpd it's trivial but I don't > know where to get PID of db backend. > > Regards, > Oleg

Re: Apache mod_proxy inefficiencies

1999-10-30 Thread Greg Stark
Joshua Chamas <[EMAIL PROTECTED]> writes: > Someone already reported this double fork problem on the list, > and submitted a patch to mod_proxy, and I was able to get it > shortly thereafter from the apache CVS. It should be rolled > into the latest apache sources. The latest source this prob

Re: Session state with/without cookies

1999-10-30 Thread Joseph R. Junkin
This is not a simple answer, but here is my take: This is only My Opinion. Rule #1: Design your 'working part' of the app to minimize the dependence on stored session. This means to place common actions in the URL. Some people would say that's messy, but I disagree. This is because you can 'Walk

Re: preload scripts at startup?

1999-10-30 Thread panpipi
Hi, How are you doing recently? I think I found a bug in Embperl.pm about file upload. When I used HTML tag to upload a file, Embperl crashed with error message like this: "Cannot modify read-only value ... in Embperl.pm line 774.", IF the uploaded filename starts with non-alpha character, eg.

Re: LOcking help reqd

1999-10-30 Thread Michael A. Chase
There is a section on problems with file locking in perlfaq5.pod. You can read this section of the fine manual that comes with Perl by running 'perldoc perlfaq5'. To see how to commit and rollback, run 'perldoc DBI' and read the fine manual. -- Mac :}) ** I may forward private database questions

Re: "DigExt" in user-agent hammering my site

1999-10-30 Thread Randal L. Schwartz
> "Jay" == Jay J <[EMAIL PROTECTED]> writes: Jay> I just tried it using IE5 for NT4 .. Jay> What you're seeing is when someone has used "Make available Jay> offline" followed by: Jay> "If this favorite links to other pages, would you like to make Jay> those pages available offline too? [y/n

Re: Embperl - where are the cookies ? Success....

1999-10-30 Thread George Pipkin
Hi Everybody - Finally got it working, and I wanted to sum up what I did so if somebody else runs into this, it'll be waiting for 'em in the archives. In the startup.pl, here's what I got: BEGIN{ $ENV{EMBPERL_SESSION_CLASSES} = "DBIStore SysVSemaphoreLocker"; $ENV{EMBPERL_SESSION_ARGS}=

Re: Session state without cookies

1999-10-30 Thread Randal L. Schwartz
> "Trei" == Trei B <[EMAIL PROTECTED]> writes: Trei> I appreciate your suggestions. I may be missing something in the Trei> documentation for these modules, but they seem to rely on cookies. I need Trei> to maintain session state WITHOUT cookies. As I said before this would be Trei> easy if I

Re: Embperl - where are the cookies ?

1999-10-30 Thread George Pipkin
Hi Owen - Thanks for your response, but no cigar, unfortunately. Here's what I got: # set env vars for embedded perl BEGIN{ $ENV{EMBPERL_SESSION_CLASSES} = "DBIStore SysVSemaphoreLocker"; $ENV{EMBPERL_SESSION_ARGS}= "DataSource=dbi:mysql:gpp8p_casenet UserName=gpp 8p Password=\!\!gpp8p";

optredirectstdout not working.

1999-10-30 Thread randyboy
Hi, Even with optRedirectStdout set, I'm still seeing HTTP headers in my Embperl doc. The apache config - ### Perl PerlRequire /usr/local/etc/apache/startup.pl PerlFreshRestart On PerlSetupEnv Off PerlWarn On PerlTaintCheck On SetHandler perl-script PerlSetEnv EM

Re: Session state without cookies

1999-10-30 Thread Trei B.
On Sat, 30 Oct 1999, Stas Bekman wrote: > On Thu, 28 Oct 1999, Trei Brundrett wrote: > > > The only issue I've encountered is the distinct possibility of users without > > cookies. I've searched the list archive for solutions to this problem, but > > came up with no definitive answer. The Apache:

Re: Generic Server

1999-10-30 Thread Neil Kandalgaonkar
At 19:57 -0500 1999-10-29, Leslie Mikesell wrote: > However you didn't explain why you would >like to replace these typically small and fast programs with >a 10-20Meg mod_perl process. I can see where having a common >modular authentication method would be useful, but what else would >they have

RE: preload scripts at startup?

1999-10-30 Thread Gerald Richter
> > I think I found a bug in Embperl.pm about file upload. When I > used HTML type=file name=...> tag to upload a file, Embperl crashed with > error message > like this: "Cannot modify read-only value ... in Embperl.pm line > 774.", IF the > uploaded filename starts with non-alpha character, eg.

RE: Newbie Questions on Apache with embPerl

1999-10-30 Thread Gerald Richter
> > Greetings all, I have a basic Apache/Embedded Perl config. question. > Currently, on my developement server (Apache/1.3.6 (Unix) Debian/GNU > mod_perl/1.19 ) there is only a single directory root that will > recognize ".html" as an embedded Perl file. I wish to get rid of the > "*Logfile* *S

Re: require files not working

1999-10-30 Thread Stas Bekman
> I'm trying to get Data::Dumper and require to work in the modperl > environment so I can save some internal variables, but can't get the > read portion to work. > > The Data::Dumper portion works fine. I dump out a list of variables. > Then, on the next reload, I try to read these variables ba

require files not working

1999-10-30 Thread Arthur M. Kang
I'm trying to get Data::Dumper and require to work in the modperl environment so I can save some internal variables, but can't get the read portion to work. The Data::Dumper portion works fine. I dump out a list of variables. Then, on the next reload, I try to read these variables back in, but i

Re: Handling caches, and handling persistent connections in modperl

1999-10-30 Thread Stas Bekman
> I'm happily using mod_perl to serve content stored in a mysql database. > Basically, the content does not change really often, and it maybe > important (BLOB containing images). > > It seems that handling cache-related stuff would be a big win. For > example, the If-Modified-Since: (sp?) heade

Re: Session state without cookies

1999-10-30 Thread Stas Bekman
On Thu, 28 Oct 1999, Trei Brundrett wrote: > I'm reworking an existing web store CGI script to better handle shopping > carts. I'm going to use Apache::Session to manage these shopper sessions. > The store is a mixture of static HTML and CGI generated pages and I want to > maintain the session ac