Re: [mod_perl audio tutorials]

2000-04-04 Thread Sander van Zoest
On Tue, 4 Apr 2000, Stas Bekman wrote: > > > Consider just this once that HTML is not the preferred way to deliver this > > > kind of content. Perhaps the tutorial could be in the form of an MP3 > > > file, with instructions to turn to the next slide periodically. The slide > > > could be HTML

Selective Aliasing

2000-04-04 Thread Chris
Is there anything 'Bad (tm)' about creating a selective typeglob alias in one package to a lexical that is definitely going to go out of scope in a second package? It seems to work, but I feel like I may be missing something... For example, consider two packages, A and B. B has a subroutine whi

Re: Apache::DBI problem..

2000-04-04 Thread Rajesh Kumar Mallah
Did you install DBD ?? fro the particular database you installed. eg for mysql install cpan> install Bundle::DBD::mysql Rajesh Kumar Mallah --- Learning Universe Pvt. Ltd. 59 Mandakini, GK IV, New Delhi 110019 Tel: (91-11) 6412100, 6480342, 6480365 http

Re: advice/techniques: script control over page transitions

2000-04-04 Thread Jeffrey W. Baker
On Tue, 4 Apr 2000, B&T wrote: > I've generally created a cgi script per page. Is that a mistake? > (I embed the perl in my html so I can edit pages with an html editor) > > I need a better technique for invoking traversals to other pages. > Right now all I can do is a redirect (internal or ext

Re: mod_perl cookbook

2000-04-04 Thread James G Smith
Tom Christiansen <[EMAIL PROTECTED]> wrote: >>This is by no means meant to replicate information readily >>available in other resources such as the _Perl Cookbook_, the >>Eagle book, or Stas's mod_perl Guide. This is meant to compliment >>them. > >Compliments are always appreciated. Complem

Re: mod_perl cookbook

2000-04-04 Thread Tom Christiansen
>This is by no means meant to replicate information readily >available in other resources such as the _Perl Cookbook_, the >Eagle book, or Stas's mod_perl Guide. This is meant to compliment >them. Compliments are always appreciated. Complements might work better for the general public, tho

mod_perl cookbook

2000-04-04 Thread James G Smith
This might be a bit premature, but here goes... Something I've wanted to have for a long time was a cookbook for mod_perl. It is nice to go to the _Perl Cookbook_ (O'Reilly) and look up a solution to a problem without having to spend a day or even an hour or two trying to figure it out. Befo

Re: Errors with mod_perl as a DSO

2000-04-04 Thread Vivek Khera
> "DD" == Drew Degentesh <[EMAIL PROTECTED]> writes: DD> Unfortunately, even the simplest of scripts bombs out... Consider: DD> -- DD> # login.pl DD> #!/usr/bin/perl DD> use Apache() || die "cant use apache()"; DD> -

Re: advice/techniques: script control over page transitions

2000-04-04 Thread Gunther Birznieks
I tend to prefer using a library or module to handle CGI logic like this and then drop out to the main script if the logon has been successful. The important thing is to make sure that the workflow is separated into a separate module. In mod_perl, you may have the option of having a mod_perl handl

Re: advice/techniques: script control over page transitions

2000-04-04 Thread James G Smith
B&T <[EMAIL PROTECTED]> wrote: >I've generally created a cgi script per page. Is that a mistake? >(I embed the perl in my html so I can edit pages with an html editor) > >I need a better technique for invoking traversals to other pages. >Right now all I can do is a redirect (internal or external)

advice/techniques: script control over page transitions

2000-04-04 Thread
I've generally created a cgi script per page. Is that a mistake? (I embed the perl in my html so I can edit pages with an html editor) I need a better technique for invoking traversals to other pages. Right now all I can do is a redirect (internal or external). How do you organize things so that

Re: mod_perl (DSO) dumping core with perl 5.6.0

2000-04-04 Thread Stephen Zander
> "Doug" == Doug MacEachern <[EMAIL PROTECTED]> writes: Doug> won't performance suffer in that case? i "benchmarked" Perl Doug> malloc vs. system malloc under solaris once, there were far Doug> more syscalls to brk() with system malloc. Ilya has claimed for about 18 mths now that

Re: Bug#61231: mod_perl segfaults child-processes in combination with XML::Parser::Expat

2000-04-04 Thread Daniel Jacobowitz
reassign 61231 libxml-parser-perl thanks And sure enough, the man is right. This is not mod_perl's problem. When I disable RULE_EXPAT, apache ceases crashing. On Tue, Apr 04, 2000 at 02:49:36PM -0700, Doug MacEachern wrote: > On Tue, 4 Apr 2000, Daniel Jacobowitz wrote: > > > [mod_perl peopl

Re: [RFC] holding a mod_perl conference

2000-04-04 Thread Ken Williams
[EMAIL PROTECTED] (Doug MacEachern) wrote: >i'll share my thoughts on this that we discussed at ApacheCon. >i'm not sure about a dedicated "mod_perl conference" standing on it's own >two feet. at least, not at the production level of ApacheCon or oracon, >but maybe something like YAPC. I secon

Errors with mod_perl as a DSO

2000-04-04 Thread Drew Degentesh
I have mod perl installed as a DSO. I can confirm this (I think) by: -- % telnet localhost 80 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. HEAD / HTTP/1.0 HTTP/1.1 200 OK Date: Tue, 04 Apr 2000 18:01:21 GMT Server: Apac

Re: dumb beginner question

2000-04-04 Thread Jeff Beard
http://perl.apache.org/guide/performance.html#Persistent_DB_Connections The answers to most beginner questions are in the guide as well. --Jeff At 05:28 PM 4/4/00, Adam Gotheridge wrote: >I have been using zope for a while and while it is cool, I really like the >speed/power/ease-of-use of per

Re: Another Error in Apache::ASP and Perl 5.6.0

2000-04-04 Thread Joshua Chamas
Yu Di wrote: > > This program has been tested under Perl5.005_03, Apache 1.3.11, mod_perl > 1.21 on another machine. my.conf is a configuration file for this program. > > Lynx will report "Alert!: Unexpected network read error; connection > aborted." while I try to connect to it, and the server

RE: Set DocumentRoot from modperl

2000-04-04 Thread Doug MacEachern
On Tue, 4 Apr 2000, Karyn Ulriksen wrote: > Which handler would be appropriate to do the cleanup on this? you register the cleanup function from whatever handler changes document_root. that'll happen at the same time as PerlCleanupHandler, which is after PerlLogHandler. >> my $old_docroot = $r

RE: [RFC] holding a mod_perl conference

2000-04-04 Thread Karyn Ulriksen
The "Scripting languages for Apache" concept is a winner. If it was presented to both intermediate and advanced levels, it would no doubt be well attended. I know many developers who actually have voiced their wishes for something like this. Let me know if you need any help if you decide to go

Turning off experimental threads in mod_perl

2000-04-04 Thread Chris Mason
How do I keep mod_perl from trying to use the experimental thread feature in perl, even when I built perl with that option? Is this possible? See the build error that I get below. I'm using mod_perl 1.22, perl 5.005_63, and apache 1.3.12. Please cc any replies to me, as I don't regularly read

Re: [RFC] holding a mod_perl conference

2000-04-04 Thread Doug MacEachern
i'll share my thoughts on this that we discussed at ApacheCon. i'm not sure about a dedicated "mod_perl conference" standing on it's own two feet. at least, not at the production level of ApacheCon or oracon, but maybe something like YAPC. but i do know that there is not a conference which has

Re: [slightly OT] redhat linux 6.1

2000-04-04 Thread Buddy Lee Haystack
I haven't built any rpms myself, but I am using Redhat v6.1, Apache v1.3.9-8, perl v5.00503-6, and mod_perl v1.21-2. They were all downloaded from RedHat's FTP site as rpms, and worked fine after installation. I think many people encounter difficulty in correctly modifying the httpd.conf file af

Re: panic: POPSTACK, Callback called exit and Apache::Session's"die" seems to be resurrecting itself

2000-04-04 Thread Matt Carothers
On Tue, 4 Apr 2000, Sang Han wrote: > Hi, > > Can someone help me out here? ... > panic: POPSTACK > Callback called exit. Something in your module is calling Perl's exit() instead of $r->exit. http:[EMAIL PROTECTED] - Matt

RE: Set DocumentRoot from modperl

2000-04-04 Thread Karyn Ulriksen
Which handler would be appropriate to do the cleanup on this? -Original Message- From: Doug MacEachern [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 02, 2000 10:39 PM To: Serge document_root; $r->register_cleanup(sub { shift->document_root($old_docroot) }); the lifetime of conf->ap_docu

dumb beginner question

2000-04-04 Thread Adam Gotheridge
I have been using zope for a while and while it is cool, I really like the speed/power/ease-of-use of perl so I would like to mimick some of the more important functions I saw in zope and I can't figure it out. One of the cool zope things was that you made one db connection object and then all da

[rfc] mod_perl and mod_ssl scenario

2000-04-04 Thread Stas Bekman
A few months ago there was a discussion of whether to put mod_ssl into a front-end or a back-end server. I've summarized it for a new Guide's item. Before I put it there, please see whether I didn't miss something. Thanks! =head1 mod_perl and mod_ssl If you need an SSL functionality, you can get

Re: 1.22_01-dev: Modification of a read-only value ...

2000-04-04 Thread Oleg Bartunov
On Tue, 4 Apr 2000, Doug MacEachern wrote: > Date: Tue, 4 Apr 2000 14:27:28 -0700 (PDT) > From: Doug MacEachern <[EMAIL PROTECTED]> > To: Oleg Bartunov <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED] > Subject: Re: 1.22_01-dev: Modification of a read-only value ... > > > No, this doesn't fixed the p

Re: Another Error in Apache::ASP and Perl 5.6.0

2000-04-04 Thread Yu Di
I added that before my "", no change. BTW, the Apache::Registry test program always worked correctly. Di, Yu 4.4 On Tue, 4 Apr 2000, Doug MacEachern wrote: > On Tue, 4 Apr 2000, Yu Di wrote: > > > Hi, I did compile it statically. But currently for my program, I always > > get such errors. > >

Re: Error in Apache::ASP with Perl 5.6.0

2000-04-04 Thread Doug MacEachern
On Tue, 4 Apr 2000, Yu Di wrote: > Hi, there was an error with my mailbox and I can't open your mail and test > the patch, could you please send it again? Thank you! sure.. --- src/modules/perl/mod_perl.c 2000/03/30 19:34:13 1.110 +++ src/modules/perl/mod_perl.c 2000/03/30 19:35:25 @@ -1557

[slightly OT] redhat linux 6.1

2000-04-04 Thread Bryan McGuire
Has anyone built RPMs for redhat 6.1 with apache/1.3.9 and mod_perl 1.2.2 where DSO actually works. If not, I would like to know how to do it.  It's a shame that redhat linux 6.1 is shipping with a broken mod_perl, and I believe it would help the cause for mod_perl if linux 6.1 users could s

Re: Another Error in Apache::ASP and Perl 5.6.0

2000-04-04 Thread Doug MacEachern
On Tue, 4 Apr 2000, Yu Di wrote: > Hi, I did compile it statically. But currently for my program, I always > get such errors. > > My Apache is 1.3.12, Perl is 5.6.0, mod_perl is 1.22. > > The relevant part in my httpd.conf is: any difference if you pre-load: PerlModule Apache::Registry Apache

panic: POPSTACK, Callback called exit and Apache::Session's "die" seems to be resurrecting itself

2000-04-04 Thread Sang Han
Hi, Can someone help me out here? Apache_1.3.12 mod_perl 1.21_03 Apache-Session-1.03 ( Database and deamon locker for storing and locking sessions ) -- code snippet -- sub getSESSION { my $self = shift; my $sid = shift; my %SESSION; eval {tie %SESSION, 'Apache::S

Re: Segfault on DBI->Connect

2000-04-04 Thread richard
I've been seeing the same segfault-on-connect problem with Apache 1.2.12 + mod_perl 1.22 + DBI 1.13 + Msql-Mysql-modules 1.2211. The segfault is due to a null first argument being passed to mysql_real_connect(). Running Apache with a -X argument yields the following backtrace when my mod_perl mo

Re: Bug#61231: mod_perl segfaults child-processes in combinationwith XML::Parser::Expat

2000-04-04 Thread Doug MacEachern
On Tue, 4 Apr 2000, Daniel Jacobowitz wrote: > [mod_perl people - any comment? Please keep the Cc: list to the Debian > bug tracking system.] > > When using the XML::Parser::Expat under mod_perl, this causes segmentation > > faults (quite random?) in the child-processes of httpd. > > The error

Re: Apache::VMonitor

2000-04-04 Thread Doug MacEachern
On Tue, 4 Apr 2000, Paul G. Weiss wrote: > Has anyone succeeded in building this for Solaris? This sounds > like an interesting module and I'd like to be able to use it. you'll have a whole lot of trouble with libgtop under solaris. last i tried with 1.0.2-ish, i had to patch the libgtop sourc

Re: mod_perl (DSO) dumping core with perl 5.6.0

2000-04-04 Thread Doug MacEachern
On Tue, 4 Apr 2000, Alan Burlison wrote: > "Paul G. Weiss" wrote: > > > > Sad to say still not working. > > I'd suggest building perl with -Uusemymalloc. won't performance suffer in that case? i "benchmarked" Perl malloc vs. system malloc under solaris once, there were far more syscalls to brk

Re: Static linking of GD module

2000-04-04 Thread Doug MacEachern
On Tue, 4 Apr 2000, Roca, Ignasi wrote: > [error] DYNA:Can't load module GD, dynamic loading not available in this > perl. your 'perl -V' would help. > I'm working with perl5.005.63 and and Apache.1.3.9. and, i would stick with either 5.005_03 or 5.6.0, not an old developer release inbetween

Re: [ANNOUNCE] Apache::DebugInfo_0.02

2000-04-04 Thread Ken Williams
[EMAIL PROTECTED] (Geoffrey Young) wrote: >sorry for the inconvienence (but probably nobody is using it anyway :) To >make up for it, pnotes now supports complex data structures via Data::Dumper Is this really true? I thought pnotes supported complex data structures simply because it can store

Re: Error in Apache::ASP with Perl 5.6.0

2000-04-04 Thread Yu Di
Hi, there was an error with my mailbox and I can't open your mail and test the patch, could you please send it again? Thank you! Di, Yu 4.4

Re: Another Error in Apache::ASP and Perl 5.6.0

2000-04-04 Thread Yu Di
Hi, I did compile it statically. But currently for my program, I always get such errors. My Apache is 1.3.12, Perl is 5.6.0, mod_perl is 1.22. The relevant part in my httpd.conf is: SetHandler perl-script PerlHandler Apache::Registry Options ExecCGI SetHandler perl-script

RE: Segmentation Fault: RedHat 6.[01] / Apache 1.3.12 / mod_perl 1.22 / perl 5.005_03 / IE 5

2000-04-04 Thread Vivek Khera
> "DM" == Doug MacEachern <[EMAIL PROTECTED]> writes: DM> On Mon, 3 Apr 2000, Vivek Khera wrote: >> What if someone sets PerlFreshRestart No and has DSO enabled? Then >> they don't get what they think they do. DM> right, the docs should be updated to reflect that. Why not disable this comm

Re: 1.22_01-dev: Modification of a read-only value ...

2000-04-04 Thread Doug MacEachern
> No, this doesn't fixed the problem. I applied your patch to current cvs hmm, does the problem go away if you add this to httpd.conf: PerlModule Apache::Table ? that's my only suspect, since the first time you access $r->headers_in it will 'require Apache::Table', which might confuse the stac

Re: [mod_perl audio tutorials]

2000-04-04 Thread Stas Bekman
On Tue, 4 Apr 2000, Bakki Kudva wrote: > Jeffrey W. Baker wrote on Tuesday, April 04, 2000 12:04 PM: > > > Consider just this once that HTML is not the preferred way to deliver this > > kind of content. Perhaps the tutorial could be in the form of an MP3 > > file, with instructions to turn to t

Re: Apache::Filter headers

2000-04-04 Thread Doug MacEachern
> does mod_perl automatically send headers for PerlHandler routines? I know > when to use it with Registry stuff, but as I move to handlers for lots of > stuff I see that PerlHandlers seem ok without it. no, mod_perl will only send headers (by calling ap_send_http_header) if you have PerlSendHea

Re: mod_perl (DSO) *NO LONGER* dumping core with perl 5.6.0

2000-04-04 Thread Doug MacEachern
On Mon, 3 Apr 2000, Paul G. Weiss wrote: > Question: is there anyway that I can do the same with > command line arguments without having to patch the Makefile's > (a goal here was not to have to rebuild Perl yet again)? this patch will pass along all of Perl's ccflags when compiling the apache

Re: Apache::VMonitor

2000-04-04 Thread Stas Bekman
> Has anyone succeeded in building this for Solaris? This sounds > like an interesting module and I'd like to be able to use it. Apache::VMonitor relies on GTop, GTop in turn relies on libgtop C lib. So if you get C lib compiled on Solaris, you get the rest working. See http://home-of-linux.or

Custom $SIG{__DIE__} in an object...

2000-04-04 Thread Russell D. Weiss
Hey guys, This relates somewhat to the message that I sent last night / early this morning. I have a custom $SIG{__DIE__} handler defined within an object. Upon a die, this handler runs the object's DESTROY method. As I stated in my earlier message, I'm doing this because the object contains a

RE: Segmentation Fault: RedHat 6.[01] / Apache 1.3.12 / mod_perl 1.22 / perl 5.005_03 / IE 5

2000-04-04 Thread Doug MacEachern
On Mon, 3 Apr 2000, Vivek Khera wrote: > What if someone sets PerlFreshRestart No and has DSO enabled? Then > they don't get what they think they do. right, the docs should be updated to reflect that.

Re: modperl 1.22 and NameWithVirtualHost not working properly

2000-04-04 Thread Doug MacEachern
On Tue, 4 Apr 2000, Jason Terry wrote: > But, I don't want the virtual host information included. ALL of my scripts on >this web server are GLOBAL and in order to save > memory I only want to have one copy loaded and shared for multiple virtual hosts. > > It used to be that if you set > $A

panic: POPSTACK, Callback called exit and Apache::Session's "die" seems to be resurrecting itself

2000-04-04 Thread sang
Hi, Can someone help me out here? Apache_1.3.12 mod_perl 1.21_03 Apache-Session-1.03 ( Database and deamon locker for storing and locking sessions ) -- code snippet -- sub getSESSION { my $self = shift; my $sid = shift; my %SESSION; eval {tie %SESSION, 'Apache::S

Apache::DBI problem..

2000-04-04 Thread Niral Trivedi
All.. I am new to mod_perl so, please forgive me if this questions sounds stupid.. I have successfully installed mod_perl 1.22 and Apache 1.3.12 under BSD/OS BSDI 3.1 And able to run normal cgi script... But problem occurs while I am trying to run script with DBI.. I have successfully installed

Re: Bug#61231: mod_perl segfaults child-processes in combination with XML::Parser::Expat

2000-04-04 Thread Daniel Jacobowitz
Something, presumably XML::Parser::Expat, is corrupting malloc's and perl's data structures randomly. Running under MALLOC_CHECK_=2 has a high probability of showing this. It also occasionally cores in Perl_sv_upgrade - the SV is hopelessly mangled: (gdb) p *sv $17 = {sv_any = 0x83e58955, sv_re

RE: Re: Segfault on DBI->Connect

2000-04-04 Thread Valter Mazzola
>From: James G Smith <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >CC: Valter Mazzola <[EMAIL PROTECTED]>, Doug MacEachern ><[EMAIL PROTECTED]> >Subject: Re: Segfault on DBI->Connect >Date: Mon, 03 Apr 2000 00:13:14 -0500 > >Doug MacEachern <[EMAIL PROTECTED]> wrote:

Re: [mod_perl audio tutorials]

2000-04-04 Thread Jeffrey W. Baker
On Tue, 4 Apr 2000, Bakki Kudva wrote: > Jeffrey W. Baker wrote on Tuesday, April 04, 2000 12:04 PM: > > > Consider just this once that HTML is not the preferred way to deliver this > > kind of content. Perhaps the tutorial could be in the form of an MP3 > > file, with instructions to turn to t

Re: authDBI connect on init?

2000-04-04 Thread Leslie Mikesell
According to Adam Gotheridge: > Is there anyway to get AuthDBI to connect on initialization of the web server > like you can with "DBI->connect_on_init(...)"? AuthDBI uses DBI, so all you have to do is use Apache::DBI and make sure the connect string is exactly the same. Les Mikesell [EMAIL

Re: Bug#61231: mod_perl segfaults child-processes in combination with XML::Parser::Expat

2000-04-04 Thread Daniel Jacobowitz
[mod_perl people - any comment? Please keep the Cc: list to the Debian bug tracking system.] On Tue, Mar 28, 2000 at 12:50:45PM +0200, [EMAIL PROTECTED] wrote: > Package: libapache-mod-perl > Version: 1.21.2309-1 > Severity: Important > > When using the XML::Parser::Expat under mod_perl, th

Re: Sharing memory between Apache processes

2000-04-04 Thread Matt Carothers
On Tue, 4 Apr 2000 [EMAIL PROTECTED] wrote: > >A good package for this is IPC::Shareable. You can store info in semaphores > >and share it between processes. > > Except that I don't think you can you use shared memory (the semaphores are > just flags) across multiple web servers, and I have

Re: [mod_perl audio tutorials]

2000-04-04 Thread Bakki Kudva
Jeffrey W. Baker wrote on Tuesday, April 04, 2000 12:04 PM: > Consider just this once that HTML is not the preferred way to deliver this > kind of content. Perhaps the tutorial could be in the form of an MP3 > file, with instructions to turn to the next slide periodically. The slide > could be

Apache::VMonitor

2000-04-04 Thread Paul G. Weiss
Has anyone succeeded in building this for Solaris? This sounds like an interesting module and I'd like to be able to use it. -Paul

RE: modperl 1.22 and NameWithVirtualHost not working properly

2000-04-04 Thread Geoffrey Young
yup - I see the same thing if I use a vhost setup... Doug - looks like in trying to fix that pest some undesired behavior has been introduced (ack!). I imagine that sharing scripts is probably more important that a fix that still doesn't work? :) --Geoff > -Original Message- > From:

authDBI connect on init?

2000-04-04 Thread Adam Gotheridge
Is there anyway to get AuthDBI to connect on initialization of the web server like you can with "DBI->connect_on_init(...)"?

Re: modperl 1.22 and NameWithVirtualHost not working properly

2000-04-04 Thread Jason Terry
Yes, I am preloading it. Below is my entire startup.pl none of the script load globally and please note that it does work in 1.21 but not in 1.22 #load perl modules of your choice here #this code is interpreted *once* when the server starts use Apache::Status (); use Apache::Registry (); use De

Re: authenticated user

2000-04-04 Thread Roger Grayson
Adam Gotheridge wrote: > > How do I get the username someone entered in a http authentication prompt? > > I got authDBI working, but I can't figure out hot to access the user name which > was passed so that I can use it in further sql-dml statements. sub handler { my $r = shift; my $user_

RE: modperl 1.22 and NameWithVirtualHost not working properly

2000-04-04 Thread Geoffrey Young
whoops - sorry for misunderstanding - I'll look into it and see if I see the same thing. are you preloading Apache::Registry (either using PerlModule or in a startup.pl?) > -Original Message- > From: Jason Terry [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 04, 2000 12:42 PM > To: Ge

Re: Sharing memory between Apache processes

2000-04-04 Thread Roger Grayson
Flemming Mahler Larsen wrote: > > Hi, > > We've been moving several small "CGI powered sites" to mod_perl and the > results has been quite terrific. Based on this we're about to move our > first large (large in size and heavy traffic) site from an Oracle > Application Server to mod_perl. We're u

Re: modperl 1.22 and NameWithVirtualHost not working properly

2000-04-04 Thread Jason Terry
But, I don't want the virtual host information included. ALL of my scripts on this web server are GLOBAL and in order to save memory I only want to have one copy loaded and shared for multiple virtual hosts. It used to be that if you set $Apache::Registry::NameWithVirtualHost = 0; Then mod

RE: modperl 1.22 and NameWithVirtualHost not working properly

2000-04-04 Thread Geoffrey Young
well, there has been some NameWithVirtualHost work going on to solve a related problem - perhaps the behavior you used to see is changing due to that? at any rate, check out the new RegistryLoader docs - you can now compile scripts with the vhost stuff in them: $r->handler($uri, $filename, $vir

Re: Sharing memory between Apache processes

2000-04-04 Thread JoshNarins
>> It seems as this has the effect that each server process keeps its own >> copy of the templates. I would like to avoid this by using some sort of >> shared memory between the server processes. Does any of you have any >> experience in this field (or even better examples of how to do it)? >A go

RE: Sharing memory between Apache processes

2000-04-04 Thread Russell D. Weiss
> It seems as this has the effect that each server process keeps its own > copy of the templates. I would like to avoid this by using some sort of > shared memory between the server processes. Does any of you have any > experience in this field (or even better examples of how to do it)? A good p

Re: Sharing memory between Apache processes

2000-04-04 Thread Drew Taylor
Flemming, Check out IPC::SharedCache (uses IPC::ShareLite(?) underneath) by Sam Tregar, author of HTML::Template. It does exactly what the name implies. I believe the most recent version is 1.3, but check out your local CPAN mirror for the latest copy. The documentation is rather good IMHO and it

Re: Sharing memory between Apache processes

2000-04-04 Thread Vivek Khera
> "FML" == Flemming Mahler Larsen <[EMAIL PROTECTED]> writes: FML> It seems as this has the effect that each server process keeps its own FML> copy of the templates. I would like to avoid this by using some sort of FML> shared memory between the server processes. Does any of you have any FML>

Sharing memory between Apache processes

2000-04-04 Thread Flemming Mahler Larsen
Hi, We've been moving several small "CGI powered sites" to mod_perl and the results has been quite terrific. Based on this we're about to move our first large (large in size and heavy traffic) site from an Oracle Application Server to mod_perl. We're using our own custom "HTML::Template"-like mod

Re: [mod_perl audio tutorials] (was Re: [OT slightly] mod_perldevelopers (do they exist?)

2000-04-04 Thread Jeffrey W. Baker
On Tue, 4 Apr 2000, Bakki Kudva wrote: > Stas Bekman wrote on Tuesday, April 04, 2000 2:59 AM : > > > Well, I've just installed the G2 Player and tried it. Yes it's quite good. > > May be you are right and it would work. So are you going to give it a > > whirl? > > I'd love to give it a try.

Looking for mod perl developers desperately (fwd)

2000-04-04 Thread Jeffrey W. Baker
Forwarded without comment -jwb -- Forwarded message -- Date: Tue, 4 Apr 2000 11:35:53 -0400 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Looking for mod perl developers desperately Jeffrey, I am looking for a team of 5 developers with one architect type who could help

Re: [mod_perl audio tutorials] (was Re: [OT slightly] mod_perl developers (do they exist?)

2000-04-04 Thread Bakki Kudva
Stas Bekman wrote on Tuesday, April 04, 2000 2:59 AM : > Well, I've just installed the G2 Player and tried it. Yes it's quite good. > May be you are right and it would work. So are you going to give it a > whirl? I'd love to give it a try. Couple of starting points. 1. Conferences will not be

modperl 1.22 and NameWithVirtualHost not working properly

2000-04-04 Thread Jason Terry
#you may define Perl*Handler subroutines here too print "Making Apache::Registry scripts global . . ."; $Apache::Registry::NameWithVirtualHost = 0; print "Done.\nLoading admin.cgi . . . . . . . . . . . . . "; my $r = Apache::RegistryLoader->new; $r->handler("/cgi-bin/admin.cgi", "/home/vshopper/pu

Re: authenticated user

2000-04-04 Thread Michael Finke
On Tue, 04 Apr 2000, Adam Gotheridge wrote: > How do I get the username someone entered in a http authentication prompt? > > I got authDBI working, but I can't figure out hot to access the user name which > was passed so that I can use it in further sql-dml statements. Try this: my $r = shif

RE: authenticated user

2000-04-04 Thread Eric Cholet
> How do I get the username someone entered in a http authentication prompt? > > I got authDBI working, but I can't figure out hot to access the user name which > was passed so that I can use it in further sql-dml statements. > $r->connection->user(), or $ENV{REMOTE_USER} if you're in CGI emula

authenticated user

2000-04-04 Thread Adam Gotheridge
How do I get the username someone entered in a http authentication prompt? I got authDBI working, but I can't figure out hot to access the user name which was passed so that I can use it in further sql-dml statements.

[ANNOUNCE] Apache::DebugInfo_0.02

2000-04-04 Thread Geoffrey Young
oops, there was a pretty major bug in the first release that required an IP list in order to get any output (whoops)... sorry for the inconvienence (but probably nobody is using it anyway :) To make up for it, pnotes now supports complex data structures via Data::Dumper --Geoff The URL ht

Re: cgi script efficiently invoking another cgi script

2000-04-04 Thread darren chamberlain
B&T ([EMAIL PROTECTED]) said something to this effect: > Assume you roughly have a one-to-one between scripts and web pages. > How do you write a script to display its own web page or efficiently > invoke another script/page? Redirect is slow. Can you exec, i.e. > can a cgi script exec another i

Re: Custom $SIG{__DIE__} problem (and "I'm glad to be back")

2000-04-04 Thread Randal L. Schwartz
> "James" == James G Smith <[EMAIL PROTECTED]> writes: James> "Russell D. Weiss" <[EMAIL PROTECTED]> wrote: >> >> So, onto the problem. Within the constructor for the wrapper object, I want >> to do: >> bless $self, $class; >> $main::SIG{'__DIE__'} = $self->custom_die; James> Try James>

Static linking of GD module

2000-04-04 Thread Roca, Ignasi
Hi, I prepared a perl5 binary with the GD.pm, the perl5 interface to Thomas Boutell's gd library, linked static. >From the browser, that means via mod_perl, I request a perl-script 'fills.pl' that requires the GD package, following error is output in the error_log: [error] DYNA:Can't load modul

Re: mod_perl (DSO) dumping core with perl 5.6.0

2000-04-04 Thread Alan Burlison
"Paul G. Weiss" wrote: > > Sad to say still not working. I'd suggest building perl with -Uusemymalloc. Alan Burlison

RE: Custom $SIG{__DIE__} problem (and "I'm glad to be back")

2000-04-04 Thread Russell D. Weiss
Thanks James, Great little trick It worked! Thanks for the help, Russ Russell Weiss Founder and Technical Manager InfoRelay Online Systems, Inc. http://www.InfoRelay.net/ > Try > > bless $self, $class; > $main::SIG{'__DIE__'} = sub { $self->custom_die(@_) }; > > This will make sur