Re: Problem installing Apache::Request

2002-03-05 Thread Stas Bekman
Corey Holzer wrote: I got this email address from the README file in libapreq-1.0.tar.gz and I desperately need help to fix a problem that I am having when I try to install Apache::Request. I have sucessfully installed all the mod_perl components, but, every time I try to install

Re: Apache::DB patch

2002-03-05 Thread Enrico Sorcinelli
On Tue, 05 Mar 2002 10:00:56 +0800 Stas Bekman [EMAIL PROTECTED] wrote: Enrico Sorcinelli wrote: On Fri, 01 Mar 2002 11:16:15 +0800 Stas Bekman [EMAIL PROTECTED] wrote: Enrico Sorcinelli wrote: Hi all, I started to use Apache::DB (0.06) to interactively debug under mod_perl using

Apache-AuthenNTLM-0.14 for ssl VirtualHost

2002-03-05 Thread Umhang Juerg, IT2
hi we are using AuthenNTLM from G. Richter to authenticate our intranet users ... works fine for http-server. unfortunately it doesnt work with ssl aware virtual hosts. Server Version: Apache/1.3.23 (Unix) mod_perl/1.26 mod_ssl/2.8.7 OpenSSL/0.9.6c client hangs :-( last entries in error.log

Re: Apache-AuthenNTLM-0.14 for ssl VirtualHost

2002-03-05 Thread Gerald Richter
Hi, NTLM needs KeepAlives turned on, because the handshake must take place on the same connection, I guess you have turned KeepAlive off for your ssl connection Gerald - Gerald Richterecos electronic communication services gmbh

Re: Apache::MP3 requires PerlSetupEnv on, patch to convert toApache::Request

2002-03-05 Thread Ask Bjoern Hansen
On Mon, 4 Mar 2002, Stas Bekman wrote: [] Can CGIpm detect that 'PerlSetupEnv Off' is in effect and die if that's the case? for example by testing some env var that most likely should be set with 'PerlSetupEnv On'? eg: For now I have added that check to Apache::MP3 (with warn instead of

RE: Apache-AuthenNTLM-0.14 for ssl VirtualHost

2002-03-05 Thread Umhang Juerg, IT2
hi it works !! best service both east and west of redmond :-)) merci juerg umhang o | /\_| Juerg UmhangWebergutstrasse 12 / | Informatik Post CH-3030 Bern /\ | IT2 IE-NAS Switzerland /_/_ |

Re: problems with $r-status('OK')

2002-03-05 Thread Issac Goldstand
You don't want to do that... You want to do this: use Apache::Constants qw(:common); and then $r-status(OK); # (no quotes) Issac - Original Message - From: clayton cottingham [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 04, 2002 6:47 PM Subject: problems with

Re: RegistryLoader Segmentation fault

2002-03-05 Thread Fran Fabrizio
Fran Fabrizio wrote: Hello, I'm trying to follow the script in section 214 of the book mod_perl Developer's Cookbook in order to pre-load my Apache::registry scripts using Apache::RegistryLoader I'm getting a seg fault when I attempt to start apache This was the problem I was

Fwd: Re: Problem installing Apache::Request

2002-03-05 Thread Corey Holzer
Here is what I did after reading your email: 1. Redownloaded the source tar ball for the version of Apache that I am running on my Linux RH 7.2 box. 2. untar'ed the source tar ball for apache. 3. Executed ./configure --with-apache-includes=the /src/includes directory under the source dir

Re: Fwd: Re: Problem installing Apache::Request

2002-03-05 Thread Perrin Harkins
Corey Holzer wrote: 1 Redownloaded the source tar ball for the version of Apache that I am running on my Linux RH 72 box 2 untar'ed the source tar ball for apache 3 Executed /configure --with-apache-includes=the /src/includes directory under the source dir for apache Between 2 and 3 you

Multiple Location directives question

2002-03-05 Thread John Siracusa
I have something like: Location /foo SetHandler perl-script PerlHandler My::Foo /Location Location / SetHandler perl-script PerlHandler My::Bar AuthName Bar AuthType Basic PerlAuthenHandler My::Auth::Bar PerlAuthzHandler My::Authz::Bar require valid-user /Location What I

Re: Multiple Location directives question

2002-03-05 Thread Geoffrey Young
John Siracusa wrote: I have something like: Location /foo SetHandler perl-script PerlHandler My::Foo /Location Location / SetHandler perl-script PerlHandler My::Bar AuthName Bar AuthType Basic PerlAuthenHandler My::Auth::Bar PerlAuthzHandler My::Authz::Bar

Re: Apache::DB patch

2002-03-05 Thread Stas Bekman
Enrico Sorcinelli wrote: 2) I use the ptkdb 'File' menu command Close Window and Run (but I've added this in the button bar) instead of Run. In this case at the end of code, the debugger won't hang and the window will closed. Note that if there are breakpoint, the window will be closed and

Re: Multiple Location directives question

2002-03-05 Thread John Siracusa
On 3/5/02 11:58 AM, Geoffrey Young wrote: you might want to set up /foo and /bar then use mod_rewrite or something to map !/foo to /bar Ug, there has to be another way :-/ -John

Re: Multiple Location directives question

2002-03-05 Thread Perrin Harkins
Geoffrey Young wrote: John Siracusa wrote: I have something like: Location /foo SetHandler perl-script PerlHandler My::Foo /Location Location / SetHandler perl-script PerlHandler My::Bar AuthName Bar AuthType Basic PerlAuthenHandler My::Auth::Bar PerlAuthzHandler

RE: Multiple Location directives question

2002-03-05 Thread Rob Bloodgood
Answering my own question, I stupidly forgot that I had a TransHandler up above mucking my URLs before the Location directives got a chance to try to match So my /foo location block was never seeing a /foo URL Still, I'm glad to see that the old system of post to a public list and then

Re: documentation for mod_auth_mysql

2002-03-05 Thread Vivek Khera
GB == Grant Babb [EMAIL PROTECTED] writes: GB i am having no luck locating the documentation for GB mod_auth_mysql.  any help would be greatly appreciated. thanks in GB advance- grant mod_auth_mysql is not implemented in mod_perl, so I'm not sure why you ask here. anyway, my version of

here is a good modperl question on perlmonk

2002-03-05 Thread clayton cottingham
thought someone might like to have a gander at this: http://perlmonksorg/?node_id=146303 look forward to seeing your replies!!

Breaks in mod_perl, works in Perl

2002-03-05 Thread Mark Hazen
I am hoping there is a someone brilliant on this list that can help me. A little while ago, I posted to clp.perl asking how I can capture the trace output from DBI into a variable. Since DBI is an external process, I couldn't do it just by piping STDERR. Benjamin Goldberg came up with a module

Re: Breaks in mod_perl, works in Perl

2002-03-05 Thread Robert Landrum
At 1:14 PM -0700 3/5/02, Mark Hazen wrote: I am hoping there is a someone brilliant on this list that can help me A little while ago, I posted to clpperl asking how I can capture the trace output from DBI into a variable Since DBI is an external process, I couldn't do it just by piping STDERR

RE: Breaks in mod_perl, works in Perl

2002-03-05 Thread Mark Hazen
I'm sorry I didn't explain an important component. Since I am dealing with a few hundred requests per minute (this was got me onto mod_perl to begin with), then using DBI's ability to write to a file would vastly overwhelm my system. Thanks Mark -Original Message- From: Robert Landrum

Re: Breaks in mod_perl, works in Perl

2002-03-05 Thread Paul Lindner
I'm not sure if this will work, but you might override DBI's notion of a trace function. If you look in DBI.pm you'll see this line: *trace_msg = \DBD::_::common::trace_msg; It appears that DBI uses the trace_msg function in the bowels of DBD to actually do the printing. Now, you can very

Re: Breaks in mod_perl, works in Perl

2002-03-05 Thread Perrin Harkins
Mark Hazen wrote: I'm sorry I didn't explain an important component Since I am dealing with a few hundred requests per minute (this was got me onto mod_perl to begin with), then using DBI's ability to write to a file would vastly overwhelm my system Won't capturing that much data in RAM

RE: Breaks in mod_perl, works in Perl

2002-03-05 Thread Robert Landrum
At 1:32 PM -0700 3/5/02, Mark Hazen wrote: I'm sorry I didn't explain an important component Since I am dealing with a few hundred requests per minute (this was got me onto mod_perl to begin with), then using DBI's ability to write to a file would vastly overwhelm my system I don't get it You

RE: Breaks in mod_perl, works in Perl

2002-03-05 Thread Mark Hazen
I am sorry for further confusion. I am not creating tables a few hundred times per minute. I simply used a create table call to get some trace output for my sample script. Thinking that users may try the sample script, there was a no way for me to know what tables might exist (that I could

RE: Breaks in mod_perl, works in Perl

2002-03-05 Thread Mark Hazen
Paul, You are onto something here. I used your method, and was able to get the following: DBI - DBI-Apache::DBI::connect(DBI:mysql:db:localhost, username, ) DBI - connect= Apache::DBI::db=HASH(0x842d608) into the variable. But the full trace output is: -

Re: mod_perl training companies?

2002-03-05 Thread Rich Bowen
On Tue, 5 Mar 2002, Stas Bekman wrote: I'm compiling a list of companies giving mod_perl training for our new mod_perl site Currently I have only: http://traininggbdirectcouk/courses/linux/customized_and_bespokehtml If you know of other companies please send me the URL of the page

Re: here is a good modperl question on perlmonk

2002-03-05 Thread Medi Montaseri
Caller wirtes > we've just migrated our 80K line pure perl web application to mod_perl...ah... > so much aster... can anyone advise on their experiences for setting up > apache/mod_perl for team development? up till now, we've all been running > our own copy of sources out of our home

Re: here is a good modperl question on perlmonk

2002-03-05 Thread Dave Rolsky
On Tue, 5 Mar 2002, Medi Montaseri wrote: My suggestion would be to install a Linux on your developer's PC and keep with the distributed model Now everyone can use a common web tree and at integeration, bring all of them to a staging box, QC it and ship it to production Giving everyone

Re: here is a good modperl question on perlmonk

2002-03-05 Thread Paul Lindner
On Tue, Mar 05, 2002 at 04:53:56PM -0600, Dave Rolsky wrote: On Tue, 5 Mar 2002, Medi Montaseri wrote: My suggestion would be to install a Linux on your developer's PC and keep with the distributed model. Now everyone can use a common web tree and at integeration, bring all of them to a

Re: here is a good modperl question on perlmonk

2002-03-05 Thread Perrin Harkins
Medi Montaseri wrote: Caller can also buy some content management software like Interwoven's TeamSite product that provides a virtual workarea, for about $300,000 It's so easy and effective to run mod_perl on developers' personal machines, I think there's no excuse not to do it At eToys we

Re: here is a good modperl question on perlmonk

2002-03-05 Thread Valerio_Valdez Paolini
On Wed, 6 Mar 2002, Gunther Birznieks wrote: Philippe Chiasson had a really nice talk on setting up developer teams on mod_perl at ApacheCon 2001. Covers everything from CVS to deployment. You may want to see if you can get the slides from him ([EMAIL PROTECTED]) if you are interested in

Re: here is a good modperl question on perlmonk

2002-03-05 Thread Stuart Frew
Greetings, Depending on the number of developers and how often they change, virtual hosts are good. Set up a sub-domain for each developer, ie jim.my-company.co.nz. Then they can configure there local setup to there hearts content, seperate CVS/document tree, also get separate logs.

Re: here is a good modperl question on perlmonk

2002-03-05 Thread Medi Montaseri
True...but I'm thinking full control to the developer. Developer can now mis-configure httpd.conf as much as he/she wants and all the paths; virtual or not are consistant, instead of a dev path vs production path I had a chance to work with Interwoven TeamSite and this very issue or virtual

Re: here is a good modperl question on perlmonk

2002-03-05 Thread Medi Montaseri
I don't agree with virtual hosts setup for mod_perl folks. What if someone mess up the configuration file. If you want a central person to change them, then you are limitting the developer. The Linux-on-developers-box proposition also goes to include a database instance for the developer to

Re: here is a good modperl question on perlmonk

2002-03-05 Thread Dave Rolsky
On Tue, 5 Mar 2002, Medi Montaseri wrote: Truebut I'm thinking full control to the developer Developer can now mis-configure httpdconf as much as he/she wants and all the paths; virtual or not are consistant, instead of a dev path vs production path Right, every developer can run their own

Re: here is a good modperl question on perlmonk

2002-03-05 Thread Stuart Frew
Greeting, Yup, I agree but I meant virtual hosts on the development box, not production. Ideally you would have linux( or what ever) on every developers machine but sometimes you don't get the choice. Cheers On Wed, 2002-03-06 at 13:40, Medi Montaseri wrote: I don't

Re: here is a good modperl question on perlmonk

2002-03-05 Thread Andrew Ho
Hello, PLOne other tip... write a small script (or modify apachectl) to start PLapache with a port number matched to your unix UID. This keeps PLdevelopers from using clashing port numbers. PL PL httpd -c Port $UID -c Listen $UID At Tellme we find it easiest to run multiple Apaches, one per

Re: DBIx::Recordset and Select with $order

2002-03-05 Thread Joerg Jaspert
Gerald Richter [EMAIL PROTECTED] writes: But in perldoc DBIx::Recordset its documented that only Select works with order. It only works with Search. $order is listed below the heading Search parameters, while Select has an extra parameter (the third one) for order. Anyway it's better to use

Re: mod_perl training companies?

2002-03-05 Thread Stas Bekman
Rich Bowen wrote: On Tue, 5 Mar 2002, Stas Bekman wrote: I'm compiling a list of companies giving mod_perl training for our new mod_perl site. Currently I have only: http://training.gbdirect.co.uk/courses/linux/customized_and_bespoke.html If you know of other companies please send me the

Re: Breaks in mod_perl, works in Perl

2002-03-05 Thread Stas Bekman
Mark Hazen wrote: I am hoping there is a someone brilliant on this list that can help me. A little while ago, I posted to clp.perl asking how I can capture the trace output from DBI into a variable. Since DBI is an external process, I couldn't do it just by piping STDERR. Benjamin Goldberg

Re: here is a good modperl question on perlmonk

2002-03-05 Thread Medi Montaseri
Stuart Frew wrote: Greeting, Ideally you would have linux( or what ever) on every developers machine but sometimes you don't get the choice. Oh "the choice" is easyjust come in on a weekend and install linux on your box. Don't tell IT. That's all. Cheers On Wed, 2002-03-06 at 13:40, Medi

cvs commit: modperl STATUS ToDo

2002-03-05 Thread geoff
geoff 02/03/02 10:09:54 Added: .STATUS Removed: .ToDo Log: exchanged the old ToDo for the new STATUS file Reviewed by: dougm Revision ChangesPath 1.1 modperl/STATUS Index: STATUS

cvs commit: modperl-2.0 .cvsignore

2002-03-05 Thread stas
stas02/03/05 21:24:57 Modified:t/apr.cvsignore ..cvsignore Log: -ignore files Submitted by: Philippe M. Chiasson [EMAIL PROTECTED] Reviewed by: stas Revision ChangesPath 1.4 +4 -1 modperl-2.0/t/apr/.cvsignore Index:

cvs commit: modperl-2.0/lib/ModPerl TypeMap.pm

2002-03-05 Thread stas
stas02/03/05 22:13:39 Modified:lib/ModPerl TypeMappm Log: - better diagnostics when the typemap conversion fails Revision ChangesPath 114 +5 -1 modperl-20/lib/ModPerl/TypeMappm Index: TypeMappm