Re: Problem with Apache::DBI

2000-10-12 Thread Ken Williams
[EMAIL PROTECTED] (Pritesh Thakor) wrote: >I installed Apache::DBI-0.87 on Apache 1.3.9, Perl 5.00503, mod_perl >1.2.1 running on RedHat Linux 6.1 and I am trying to connect to MySQL >3.22.32. After making necessary changes in httpd.conf i.e. PerlModule >Apache::DBI and giving the command > >/etc/

Problem with Apache::DBI

2000-10-12 Thread Pritesh Thakor
Hi, I installed Apache::DBI-0.87 on Apache 1.3.9, Perl 5.00503, mod_perl 1.2.1 running on RedHat Linux 6.1 and I am trying to connect to MySQL 3.22.32. After making necessary changes in httpd.conf i.e. PerlModule Apache::DBI and giving the command /etc/rc.d/init.d/httpd restart generate

Recognizing server config, like Aliases, from modules

2000-10-12 Thread Rodney Broom
Hi all, I've got a set of new modules that do things like session handling, URI rewriting, authentication, etc. I've got a set of tests to prevent some rewrite problems that look like this: if ($uri =~ m|^/cgi-bin/|) { return DECLINED; if ($uri =~ m|^/icons/|) { return DE

AxKit / Apache::Filter - simple test case fails

2000-10-12 Thread Barry Hoggard
OK - here is a simpler case of just a "hello world" type module as the first stage in filtering, with AxKit at the end. I'm getting "Bad filter_input status" from AxKit. Am I supposed to being something different wth my module? > Apache::Filter is 1.011 My first module in the filter chain - pr

Re: Amount of memory available to IPC::Shareable?

2000-10-12 Thread Eivind Trondsen
ricarDo oliveiRa <[EMAIL PROTECTED]> writes: > Hi there, > > this may be of some interest to you: > http://perlchat.sourceforge.net/ > > --Original Message-- > From: "Alexander Farber (EED)" <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Sent: October 12, 2000 9:21:58 AM GMT > Subject: A

Re: Wild Proposal :)

2000-10-12 Thread David E. Wheeler
Leslie Mikesell wrote: > > Wouldn't this be handled just as well by running an Apache > per customer and letting each manage it's own pool of children > which will only connect to it's own database? A server for every customer? Some customers use the application a lot and could probably use thei

Re: Wild Proposal :)

2000-10-12 Thread Leslie Mikesell
According to David E. Wheeler: > Perrin Harkins wrote: > > > > My point was that Apache::DBI already gives you persistent connections, > > and when people say they want actual pooled connections instead they > > usually don't have a good reason for it. > > Let's say that I have 20 customers, eac

RE: :Parse segmentation fault

2000-10-12 Thread Michael J Schout
On Tue, 10 Oct 2000, Matt Sergeant wrote: > On Mon, 9 Oct 2000, Herrington, Jack wrote: > > > This allows for XML parsing with no change to the Perl code. I'm just not > > sure what I am losing in Apache (which is where I make the change). What > > does losing EXPAT do to Apache? > > You lo

Re: Spinning httpd

2000-10-12 Thread Bill Moseley
At 07:45 PM 10/12/00 +0200, Robin Berjon wrote: >At 10:28 12/10/2000 -0700, Bill Moseley wrote: >>I have a spinning mod_perl process. I installed a >> $SIG{USR2} = \&Carp::confess; >>handler and it pointed to this line: >> $cnt++ while $query->{query} =~ /(?:^|\s)[("]*\S$size\*/g; > >I have no

Re: Wild Proposal :)

2000-10-12 Thread David E. Wheeler
Perrin Harkins wrote: > > My point was that Apache::DBI already gives you persistent connections, > and when people say they want actual pooled connections instead they > usually don't have a good reason for it. Let's say that I have 20 customers, each of whom has a database schema for their dat

Re: Spinning httpd

2000-10-12 Thread Robin Berjon
At 10:28 12/10/2000 -0700, Bill Moseley wrote: >I have a spinning mod_perl process. I installed a > $SIG{USR2} = \&Carp::confess; >handler and it pointed to this line: > $cnt++ while $query->{query} =~ /(?:^|\s)[("]*\S$size\*/g; I have no idea why your httpd is spinning, however without takin

Spinning httpd

2000-10-12 Thread Bill Moseley
I'm in need of some ideas! I have a spinning mod_perl process. I installed a $SIG{USR2} = \&Carp::confess; handler and it pointed to this line: $cnt++ while $query->{query} =~ /(?:^|\s)[("]*\S$size\*/g; which was suppose to count how many wildcards (words ending with '*') of a given len

ANNOUNCE: Apache::ProxyStuff 0.08

2000-10-12 Thread Jason Bodnar
This version fixes a typo in the Pod documentation spotted by Christian Gilmore. The typo was causing problems installing the module. -FW: <[EMAIL PROTECTED]>- Date: Thu, 12 Oct 2000 18:44:21 +0200 From: PAUSE <[EMAIL PROTECTED]> To: Jason Bodnar <[EMAIL PROTECTED]>, [EMAIL PROTECTED] S

Re: file download with mod_perl

2000-10-12 Thread Axel Gerstmair
Hi Pritesh, > Sorry for replying you late and many thanks for the solution. It has > really made my scripts working(or should I say running) well in > mod_perl. > But is this pure implementation of mod_perl, when I put > PerlSendHeader On in ? I think this is the only way to go if you are porti

RE: Amount of memory available to IPC::Shareable?

2000-10-12 Thread ricarDo oliveiRa
Hi there, this may be of some interest to you: http://perlchat.sourceforge.net/ --Original Message-- From: "Alexander Farber (EED)" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Sent: October 12, 2000 9:21:58 AM GMT Subject: Amount of memory available to IPC::Shareable? I would like to wri

Re: file download with mod_perl

2000-10-12 Thread Pritesh Thakor
Hi Axel, Sorry for replying you late and many thanks for the solution. It has really made my scripts working(or should I say running) well in mod_perl. But is this pure implementation of mod_perl, when I put PerlSendHeader On in ? Waiting for your reply, Pritesh. On Friday, Augu

Re: Converting pseudo URI to QueryString

2000-10-12 Thread Ime Smits
| I can convert pseudo URI kinda /band/134/ to /band.asp?id=134 via | mod_rewrite, but I want to configure this at runtime, without restarting | Apache... I want to use Apache::ASP further and get this ability... | Any advices ? Consider changing your naming scheme to band.asp/134 and get your id

Re: @INC startup under Win32

2000-10-12 Thread Alexander Farber (EED)
Carlos Ramirez wrote: > Update your PATH evironment variable to include C:\Perl\lib Shouldn't it be PERL5LIB instead, since PATH is responsible for locating executables, not modules? > "siberian.org" wrote: > > Can't location Cwd.pm in @INC (@INC contains C:/WINNT/system32/lib .) at

Re: ANNOUNCE: Apache::ProxyStuff 0.07

2000-10-12 Thread Alexander Farber (EED)
Jason Bodnar wrote: > Apache::ProxyStuff is module for adding headers and > footers to content proxied from other web servers. Looks similar to http://www.7val.de/leistungen/sevenval_fit.html - from the guys who patented embedding session ids in domain names. They claim, that the "sevenvalFIT-t

Amount of memory available to IPC::Shareable?

2000-10-12 Thread Alexander Farber (EED)
I would like to write a small web chat using IPC::Shareable. How do I find out, how much shared memory is available on some host, esp. under Solaris and OpenBSD? I have looked at "perldoc IPC::Shareable" and the outputs of "dmesg", "ipcs -a" and "ulimit -a" but don't see it yet. Also, does anyon

Re: Converting pseudo URI to QueryString

2000-10-12 Thread Joshua Chamas
BeerBong wrote: > > Hello all! > > I learned that most search engines ignores scripts with query string > (Altavista for instance). Correct me if I wrong... > Most of my sites are several Apache::ASP scripts with query_string > parameters... They work with database. > I can convert pseudo URI ki