Re: Attribute::Handlers - cant use under mod_perl?

2002-03-29 Thread Jim Smith
On Fri, Mar 29, 2002 at 11:34:26AM -0600, Michael Schout wrote: > Has anyone else tried to use Attribute::Handlers under mod_perl? Any success > stories? Take a look at Apache::Handlers :) I've been able to get both forms working (attribute and block). Attribute::Handlers does require perl 5.6

Re: Permission conflict between mod_cgi and mod_perl

2002-03-25 Thread Jim Smith
On Mon, Mar 25, 2002 at 10:44:10AM -0800, Randal L. Schwartz wrote: > >>>>> "Jim" == Jim Smith <[EMAIL PROTECTED]> writes: > > Jim> On Mon, Mar 18, 2002 at 02:02:38PM -0800, James Lum wrote: > >> 1. use suid perl and set the owner as root ..

Re: Permission conflict between mod_cgi and mod_perl

2002-03-25 Thread Jim Smith
On Mon, Mar 18, 2002 at 02:02:38PM -0800, James Lum wrote: > 1. use suid perl and set the owner as root ... but i do not know if you >can run a suid perl program under modperl. (anyone? will this work?) Should be able to -- mod_perl can run other scripts. Suid is something the kernel pays

Re: Berkeley DB 4.0.14 not releasing lockers under mod_perl

2002-03-25 Thread Jim Smith
On Thu, Mar 21, 2002 at 02:01:49PM -0500, Michael Alan Dorman wrote: > Perrin Harkins <[EMAIL PROTECTED]> writes: > > This sort of begs the question: why not use DB 3.x? Is there some new > > feature you need in DB 4? > > Anecdotaly, I believe the OpenLDAP and Cyrus projects have both found > DB

Re: [ANNOUNCE] PHP::Session

2002-03-18 Thread Jim Smith
On Tue, Mar 19, 2002 at 06:03:56AM +0900, Tatsuhiko Miyagawa wrote: > At Mon, 18 Mar 2002 14:06:56 -0600, > Jim Smith wrote: > > > Will there be a way to specify each of the actions as PHP allows? > > For example, in a project I have, we use PHP4 sessions, but they are

Re: [ANNOUNCE] PHP::Session

2002-03-18 Thread Jim Smith
On Mon, Mar 18, 2002 at 07:27:40PM +0900, Tatsuhiko Miyagawa wrote: > Now PHP::Session 0.05 with save/destory implementation is going on its > way to CPAN. > > 0.05 Mon Mar 18 16:36:27 JST 2002 > * added Boolean type (ext/var.h in PHP source code) > > 0.04 Fri Mar 15 16:14:32 JST 2002 >

Re: here is a good modperl question on perlmonk

2002-03-18 Thread Jim Smith
On Tue, Mar 05, 2002 at 02:54:47PM -0800, Paul Lindner wrote: > 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 ever

Re: Apache::Symbol-calling ->can('undef_functions')

2002-02-07 Thread Jim Smith
On Thu, Feb 07, 2002 at 08:09:57AM -0500, Geoffrey Young wrote: > Sreeji K Das wrote: > > > > Hi > > The following > > perl -MDevel::Symdump -e '$t = > > Devel::Symdump->new(main); print $t->packages, "\n";' > > > > in perl 5.6.1 returns as one the packages ! > > Apache::Symbol (mod_perl-1.26)

Re: Storing data for conf directives

2002-01-24 Thread Jim Smith
On Thu, Jan 24, 2002 at 04:03:30AM -0600, James G Smith wrote: [snip] > The most likely suspect that I can think of is the configuration > being done twice or incompletely the second time, but I don't know > where else to look. > > Anyone have any suggestions? I'll post the code if anyone thinks

Re: Single login/sign-on for different web apps?

2002-01-17 Thread Jim Smith
On Wed, Jan 16, 2002 at 12:53:17PM -0800, Jeffrey W. Baker wrote: > On Wed, 2002-01-16 at 12:24, James G Smith wrote: > > > There is no standard method of doing single sign-on. When I > > submitted a draft for such a beast to be put in HTTP, the main > > concern was opening up more privacy holes

Re: Installing mod_perl 1.26 on solaris 2.7

2001-11-29 Thread Jim Smith
On Thu, Nov 29, 2001 at 02:30:26PM -0500, Chris Winters wrote: > * James G Smith ([EMAIL PROTECTED]) [011129 14:11]: > > I have the 1.26 tarball untar'd and run the following command: > > > > % find . -name Request.pm -print > > > > It prints nothing. Is there supposed to be an Apache/Request.p

Re: Cookie authentication

2001-11-19 Thread Jim Smith
On Fri, Nov 16, 2001 at 02:09:25AM +0100, Tom Bille wrote: > The aim of the cookie example in the eagle book is a bit more than just >authentication. Most of the answers here to use a > session ID here are quite right for most purposes, but the code in the eagle book >offers to store informatio

Re: Mod_perl component based architecture

2001-10-16 Thread Jim Smith
On Tue, Oct 16, 2001 at 07:41:46PM +0530, Gargi Bodke wrote: > hi > i have been asked to suggest an architecture to seperate the business > logic from the html. > how is this done in modperl? i guess by using functions for the business > logic. > is there any other way? There are a large number

Re: [Knowledge Base] First coherent release

2001-10-11 Thread Jim Smith
On Thu, Oct 11, 2001 at 01:05:17PM -0400, Drew Taylor wrote: > At 11:45 AM 10/11/01 -0500, Jim Smith wrote: > >On Thu, Oct 11, 2001 at 11:25:43AM -0400, Drew Taylor wrote: > > > I assume that the reason I get the "Can't locate the render_format method" > > &

Re: [Knowledge Base] First coherent release

2001-10-11 Thread Jim Smith
On Thu, Oct 11, 2001 at 11:25:43AM -0400, Drew Taylor wrote: > I feel a little stupid now that I actually read up on tying hashes. Had I > read Ch 14 of the Camel #3, I might have phrased my question in a better > way so as to not illuminate my inexperience with tying variables. :-) n/p :) >

Re: [Knowledge Base] First coherent release

2001-10-11 Thread Jim Smith
On Thu, Oct 11, 2001 at 02:53:09AM -0400, Drew Taylor wrote: > I've run into a WEIRD problem that I think is ActivePerl related. I've > installed the PerlKB modules and added some debugging code to > PerlKB::Store.pm. The short story is that I have to shift TWICE to get rid > of the "PerlKB::St

Re: predefined arrays @- and @+ with mod_perl?

2001-10-10 Thread Jim Smith
On Wed, Oct 10, 2001 at 01:05:18PM -0700, Medi Montaseri wrote: > > The identifier production in Perl is > [a-zA-Z_]\w+ > > So '-' and '+' are not valid symbols... pp. 667-668, 3rd. Ed. Camel book --jim

Re: predefined arrays @- and @+ with mod_perl?

2001-10-10 Thread Jim Smith
On Wed, Oct 10, 2001 at 08:17:19PM +0200, Christoph Bergmann wrote: > Hi... > > I wonder if there exists the predefined arrays @- and @+ in mod_perl. > The following lines: > > print "$_ " foreach (@-); > print ""; > print "$_ " foreach (@+); > > print out: > > 10 10 11 > 11 11 11 > > This wo

Re: [ANNOUNCE] Config::LDAP

2001-09-28 Thread Jim Smith
On Thu, Sep 27, 2001 at 03:07:35AM -0500, James G Smith wrote: > The uploaded file > > Config-LDAP-0.01.tar.gz > > has entered CPAN as > > file: $CPAN/authors/id/J/JS/JSMITH/Config-LDAP-0.01.tar.gz > size: 6725 bytes > md5: aa8ba7d25e8e059fe9b71ddbdb668550 > Looks like I jump

Re: Knowledge Base for 2.0

2001-09-16 Thread Jim Smith
On Sun, Sep 16, 2001 at 02:37:50PM -0500, Jim wrote: > Last month, there was some mention of putting together a knowledge > base for the mod_perl 2.0 documentation. I'm getting to the point at > work that I can start throwing some time to it. Here are some > thoughts I'm having regarding the des

Re: Apache::DBI

2001-08-22 Thread Jim Smith
On Wed, Aug 22, 2001 at 12:34:11PM -0700, Rasoul Hajikhani wrote: > I am a bit confused! Can Apache::DBI handle db calls through proxies? > -r It should be able to handle anything DBI handles. Just `use' it before `use'ing any other DBI modules and you shouldn't have to change any of your code,

Re: Children dying

2001-08-14 Thread Jim Smith
On Tue, Aug 14, 2001 at 10:48:48AM -0400, Aleksandr Vladimirskiy wrote: > > Hi all, > > I am running a perl 5.6.0, mod_perl 1.26, apache 1.3.19 on Solaris 2.6. I > get the following error in my logs: > > [Tue Aug 14 10:45:10 2001] [notice] child pid 2630 exit signal > Segmentation Fault (11) >

Re: knowledge base

2001-08-12 Thread Jim Smith
On Sun, Aug 12, 2001 at 02:44:27PM +0800, Stas Bekman wrote: > On Sat, 11 Aug 2001, Jim Smith wrote: > > I am thinking about splitting this into two projects: backend repository > > modules and frontend web interface. My strength is on the backend stuff. > > > &g

Re: my OR our that is the question ?!

2001-08-09 Thread Jim Smith
On Thu, Aug 09, 2001 at 01:36:28PM -0700, Andrew Ho wrote: > Hello, > > r>I have the following situation... it is not big issue but > r>i'm interested why this happen... > r> > r>my $ID = 555; > r>sub blah { > r>... > r>$ID = selectrow query; > r>... > r>} >

Re: knowledge base - was Re: RFC: mod_perl 2.0 documentation project

2001-08-09 Thread Jim Smith
On Thu, Aug 09, 2001 at 07:31:11PM +0800, Stas Bekman wrote: > This all sounds cool. I have a few concerns with this proposal: > > - source documents living under modperl cvs are to be written in POD. > The project that you suggest should be able to accept this and other > formats as a source

Re: knowledge base - was Re: RFC: mod_perl 2.0 documentation project

2001-08-08 Thread Jim Smith
On Wed, Aug 08, 2001 at 10:45:43AM +0800, Stas Bekman wrote: > On Tue, 7 Aug 2001, Jim Smith wrote: > > > On Tue, Aug 07, 2001 at 10:16:26PM +0800, Stas Bekman wrote: > > > > Just some pseudo-random ideation boiling down to "let's use mod_perl > >