unsuscribe

2000-12-15 Thread Jean-Denis Girard
unsuscribe begin:vcard n:Girard;Jean-Denis tel;work:(+689) 48 35 27 x-mozilla-html:FALSE org:Essential Software adr:;; version:2.1 email;internet:[EMAIL PROTECTED] title:Directeur associé x-mozilla-cpt:;19808 fn:Jean-DenisGirard end:vcard

RE: is morning bug still relevant?

2000-12-15 Thread Steven Vetzal
Greetings, > to say "ping doesn't work in all cases" without qualifiying why and/or > which drivers that applies to. We've had to write our own ->ping method for the MySQL DBD driver. Our developer tried to track down a maintainer for the DBD::msql/mysql module to submit a diff, but to no avail.

Re:Advocacy idea ...

2000-12-15 Thread Mike Miller
On Thursday, December 14, 2000, Homsher, Dave V. wrote the following about "Advocacy idea ..." HDV> Hi all, HDV> With all of the advocacy talk on the ML right now I've been HDV> mulling around the idea of having a "peer review" forum where one could post HDV> code that you are currently working

Apache::Compress + mod_proxy problem

2000-12-15 Thread Edward Moon
I've run into a problem with Apache::Compress in dealing with mod_proxyed content. The author of Apace::Compress suggested that I post the problem here. I'm running apache 1.3.14, mod_perl 1.24_01, & Apache::Compress 1.003 on a RedHat 6.2 linux box. I get an internal server error when ever I try

politeness on the mailing list

2000-12-15 Thread Rod Butcher
re some recent postings : folks please remember there are people on this list from all sexual persuasions, races, religions, political views, levels of English competency and technical expertise. So think many times before becoming abusive and do it off the list. If it isn't directed at you ignore

RE: Warning, Apache Version 1.3.0 required

2000-12-15 Thread Stas Bekman
> > -Original Message- > > From: Richard [mailto:[EMAIL PROTECTED]] > > Sent: Friday, December 15, 2000 1:19 PM > > To: [EMAIL PROTECTED] > > Subject: Warning, Apache Version 1.3.0 required > > > > > > Ok, i've searched the archives and cannot find help for this > > problem there. > >

RE: Trouble with AxKit at runtime - XML parsing stage

2000-12-15 Thread Stas Bekman
> I take your answer as a polite confirmation that I am the only one to make > that mistake :-) > Well, this seems to be the case. Now that I know the problem cause, this > *is* obvious. > > Still, the guide doesn't clear things IMHO for one under the same weird > false assumption that I had: "b

Re: backtick behavior

2000-12-15 Thread Joshua Chamas
Doug Brewer wrote: > > I am on Win2000. When I run a script containing a backtick call, it behaves > differently under mod_perl than when called normally (the backtick code is the > same, obviously other parts of the script are different, it's a legitimate > perlHandler, etc). > > When called un

Re: Email (mod_perl) Apache module?

2000-12-15 Thread Wim Kerkhoff
Leon Brocard wrote: > > Jeremy Howard sent the following bits through the ether: > > > IMHO, the best open source WebMail servers are PHP based: > > In Perl, there's also WING: http://users.ox.ac.uk/~mbeattie/wing/ and > my oh-my-god-it's-still-in-development-and-I'm-still-breaking- > the-CVS-v

Re: Mod_perl tutorials

2000-12-15 Thread Nathan Torkington
Gunther Birznieks writes: > BTW, how long (in time) was this course (in the lecture format you gave it > in)? And how well did the timing work out for the slides? I had three hours. I got to the point where I could end on time. Generally I would take time early on and speed up towards the end :

Re: fork inherits socket connection

2000-12-15 Thread Bill Moseley
At 04:02 PM 12/15/00 +0100, Stas Bekman wrote: >> open STDIN, '/dev/null' or die "Can't read /dev/null: $!"; >> open STDOUT, '>/dev/null' >> or die "Can't write to /dev/null: $!"; >> defined(my $pid = fork) or die "Can't fork: $!"; >>

backtick behavior

2000-12-15 Thread Doug Brewer
Hello, I know this isn't a list for beginners, but I am one of those folks who would benefit from the discussion of organization of docs :) I am on Win2000. When I run a script containing a backtick call, it behaves differently under mod_perl than when called normally (the backtick code is the s

Re: Email (mod_perl) Apache module?

2000-12-15 Thread John Saylor
Hi - Original Message - From: "George Sanderson" <[EMAIL PROTECTED]> Sent: Thursday, December 14, 2000 22:47 Subject: RFC: Email (mod_perl) Apache module? > The module would allow the users to read and send email. > Now that would be advocacy;-) No, that would be spam. -- \js

Re: Apache::Reload and environment variables

2000-12-15 Thread Mark Doyle
On Friday, December 15, 2000, at 04:01 PM, Jimi Thompson wrote: > If the variable ORACLE_HOME doesn't change why not just set it as an > environment variable outside the program and export it? >> PerlSetEnv ORACLE_HOME /oracle/app/oracle/product/8.0.3/ >> PerlModule Apache::DBI >> [...] >> Pe

Re: Apache::Reload and environment variables

2000-12-15 Thread Jimi Thompson
Mark, If the variable ORACLE_HOME doesn't change why not just set it as an environment variable outside the program and export it? Mark Doyle wrote: > > Greetings, > > I tried using Apache::Reload: > > PerlSetEnv ORACLE_HOME /oracle/app/oracle/product/8.0.3/ > PerlModule Apache::DBI > [...] >

Re: Email (mod_perl) Apache module?

2000-12-15 Thread Robin Berjon
At 12:23 15/12/2000 -0800, brian moseley wrote: >On Fri, 15 Dec 2000, Robin Berjon wrote: > >> Wing has been widely tested in the field iirc, it's >> probably a good idea to base anything in that domain on >> it. > >possibly. groupware applications aren't that complex really, >tho (except for cale

Re: handling HEAD requests

2000-12-15 Thread Robin Berjon
At 12:16 15/12/2000 -0800, Perrin Harkins wrote: >On Fri, 15 Dec 2000, Robin Berjon wrote: >> I'm working on a modperl site that doesn't presently handle HEAD >> requests properly (it returns the entire content). > >If all the information you need to generate a given page is in the URL, >you can a

Re: handling HEAD requests

2000-12-15 Thread Perrin Harkins
On Fri, 15 Dec 2000, Robin Berjon wrote: > I'm working on a modperl site that doesn't presently handle HEAD > requests properly (it returns the entire content). If all the information you need to generate a given page is in the URL, you can also let mod_proxy cache it and handle the HEAD requests

Re: Email (mod_perl) Apache module?

2000-12-15 Thread brian moseley
On Fri, 15 Dec 2000, martin langhoff wrote: > Perrin Harkins wrote: > > > Is there a reason you don't want to just hack on WING? > > I've seen TWIG and its *very* clever, if ugly. It'll let you > authenticate against a lot of things. Use IMAP or POP. Use News. Use > mysql, Postgres, MySQL, or n

Re: Email (mod_perl) Apache module?

2000-12-15 Thread brian moseley
On Fri, 15 Dec 2000, Robin Berjon wrote: > Wing has been widely tested in the field iirc, it's > probably a good idea to base anything in that domain on > it. possibly. groupware applications aren't that complex really, tho (except for calendaring and scheduling); the main problem is that they'r

Re: Email (mod_perl) Apache module?

2000-12-15 Thread martin langhoff
Perrin Harkins wrote: > Is there a reason you don't want to just hack on WING? I've seen TWIG and its *very* clever, if ugly. It'll let you authenticate against a lot of things. Use IMAP or POP. Use News. Use mysql, Postgres, MySQL, or none. Use cookies or encoded links for state. It's *very* fl

Re: Email (mod_perl) Apache module?

2000-12-15 Thread Robin Berjon
At 11:28 15/12/2000 -0800, brian moseley wrote: >On Fri, 15 Dec 2000, Perrin Harkins wrote: >> Is there a reason you don't want to just hack on WING? >> It's a pretty powerful system and it was designed for >> mod_perl. Look it up on CPAN. > >it's an option, but it's got a large amount of depen

handling HEAD requests

2000-12-15 Thread Robin Berjon
Hi, I'm working on a modperl site that doesn't presently handle HEAD requests properly (it returns the entire content). That's definitely a waste (especially seeing how browsers bang on it with HEAD requests), is not compliant, and makes telnet debugging a pain. I know how to detect a HEAD and t

Re: Email (mod_perl) Apache module?

2000-12-15 Thread Ričardas Čepas
On Fri Dec 15 11:28:03 2000 -0800 brian moseley wrote: > On Fri, 15 Dec 2000, Perrin Harkins wrote: > > > Is there a reason you don't want to just hack on WING? > > It's a pretty powerful system and it was designed for > > mod_perl. Look it up on CPAN. > > it's an option, but it's got a larg

Thanks for the help (.24_01 where the problem was fixed)

2000-12-15 Thread Richard
Thanks for the guys who answered the problem. :) now got to get this version installed! thanks. Richard.

re: gay thing

2000-12-15 Thread Richard
On Fri, 15 Dec 2000, Dave Rolsky wrote:> It seems that you are using the word gay to indicate something bad or not > working correctly. Some people might assume from that that you are a big > asshole. Or you're 12. Or you're a 12 year old asshole. But my personal > guess is you're just an ass

Re: Email (mod_perl) Apache module?

2000-12-15 Thread brian moseley
On Fri, 15 Dec 2000, Perrin Harkins wrote: > Is there a reason you don't want to just hack on WING? > It's a pretty powerful system and it was designed for > mod_perl. Look it up on CPAN. it's an option, but it's got a large amount of dependencies, which makes it a tremendous effort for me to

Apache::Reload and environment variables

2000-12-15 Thread Mark Doyle
Greetings, I tried using Apache::Reload: PerlSetEnv ORACLE_HOME /oracle/app/oracle/product/8.0.3/ PerlModule Apache::DBI [...] PerlModule Apache::Reload PerlInitHandler Apache::Reload PerlSetVar ReloadAll Off but when I do, the error log gets filled with "ORACLE_HOME not set!" Only one module

Re: Email (mod_perl) Apache module?

2000-12-15 Thread clayton cottingham
martin langhoff wrote: > > brian moseley wrote: > > > (speaking as the author of a proprietary mod_perl > > webmail...) > > > > DO IT!! > > my fear is that writing it as a mod_perl app, it'd be terribly niche, > and we wouldn't get it rolling. I'd rather write a bunch of modules, > that

Re: SSL / Apache / .vtml

2000-12-15 Thread brian d foy
On Fri, 15 Dec 2000, Mike Buglioli wrote: > Do you think it's because they are generating dynamic .vtml pages which could > be causing them some problems ? mlb i don't knwo what they have done. i doubt that it is either an SSL, database, or mime-type problem. in my experience, and i've done so

UPDATE: lingerd

2000-12-15 Thread Roger Espel Llima
I've just released lingerd version 0.92; you can get it at ftp://iagora.com/pub/software/lingerd/lingerd-0.92.tar.gz WHAT IS LINGERD? Lingerd is a daemon that greatly improves Apache's scalability by taking over the task of lingering on closing sockets. On dynamic page servers that don't serve

Re: Email (mod_perl) Apache module?

2000-12-15 Thread Perrin Harkins
On Fri, 15 Dec 2000, martin langhoff wrote: > I have this dangling idea of building a TWIG lookalike (in Perl), with > a 'plug-in'/'module' structure, so I may write the email client, and > others fill with their desired modules. Is there a reason you don't want to just hack on WING? It's

Re: [heh] Larry Wall on CNBC

2000-12-15 Thread JoshNarins
It only took you a month to come up with that1 Someone give the man a cigar! Jimi "Hendrix" Thomspson, writes: > Only from someone on AOL ;)

why is it so gay?

2000-12-15 Thread Richard
=] ok, i downloaded mod_perl 1.24_01 to see if that made any difference. YAY! Makefile.PL works, make works, make install works, make test.. =[ Now i the server will not startup: ### will write error_log to: t/logs/error_log letting apache warm up..

Re: Email (mod_perl) Apache module?

2000-12-15 Thread brian moseley
On Fri, 15 Dec 2000, martin langhoff wrote: > brian moseley wrote: > > > (speaking as the author of a proprietary mod_perl > > webmail...) > > > > DO IT!! > > my fear is that writing it as a mod_perl app, it'd be terribly niche, > and we wouldn't get it rolling. I'd rather write a bunch

Re: [heh] Larry Wall on CNBC

2000-12-15 Thread Jimi Thompson
Only from someone on AOL ;) [EMAIL PROTECTED] wrote: > > We need to see Larry Wall on CNBC taking questions like > > "So it's free?" >"yes" > "And you don't get any money for it?" >"Correct" > "And you keep working on it?" >"That's my perogative"short Bobby Brown move> >

RE: Warning, Apache Version 1.3.0 required

2000-12-15 Thread Geoffrey Young
> -Original Message- > From: Richard [mailto:[EMAIL PROTECTED]] > Sent: Friday, December 15, 2000 1:19 PM > To: [EMAIL PROTECTED] > Subject: Warning, Apache Version 1.3.0 required > > > Ok, i've searched the archives and cannot find help for this > problem there. > > I have compiled

RE: Warning, Apache Version 1.3.0 required

2000-12-15 Thread Khachaturov, Vassilii
This is a FAQ. Get mod_perl-1.24_01 where this is fixed. V. -Original Message- From: Richard [mailto:[EMAIL PROTECTED]] Sent: Friday, December 15, 2000 1:19 PM To: [EMAIL PROTECTED] Subject: Warning, Apache Version 1.3.0 required Ok, i've searched the archives and cannot find help for t

Re: Email (mod_perl) Apache module?

2000-12-15 Thread martin langhoff
brian moseley wrote: > (speaking as the author of a proprietary mod_perl > webmail...) > > DO IT!! my fear is that writing it as a mod_perl app, it'd be terribly niche, and we wouldn't get it rolling. I'd rather write a bunch of modules, that can be called from a CGI or a templating sys

Warning, Apache Version 1.3.0 required

2000-12-15 Thread Richard
Ok, i've searched the archives and cannot find help for this problem there. I have compiled Apache v 1.3.14, without errors. I have then gone to compile mod_perl v1.24, below is my effort. The error/warning at the bottom states that i require Apache 1.3.0. Anyone shed any light on why this wou

Re: Apache::AuthCookie and SSL

2000-12-15 Thread Vivek Khera
> "JM" == JR Mayberry <[EMAIL PROTECTED]> writes: JM> might wanna modify the source to set the domain to .yourdomain.com, as JM> its probably now being set as secure.yourdomain.com or JM> www.yourdomain.com no need to modify source to do that. AuthCookie has a config option to do it for you

RE: Trouble with AxKit at runtime - XML parsing stage

2000-12-15 Thread Khachaturov, Vassilii
I take your answer as a polite confirmation that I am the only one to make that mistake :-) Well, this seems to be the case. Now that I know the problem cause, this *is* obvious. Still, the guide doesn't clear things IMHO for one under the same weird false assumption that I had: "but the parent

Re: Apache::AuthCookie and SSL

2000-12-15 Thread Vivek Khera
> "JW" == John Walstra <[EMAIL PROTECTED]> writes: JW> I'm having the problem with being logged out then I switch to a JW> secure document. I have to log back in to get to the page. And JW> when I go from a SSL page to a plain page it logs me out JW> again. Any advise? Figure out how to make

Re: SSL / Apache / .vtml

2000-12-15 Thread Vivek Khera
> "MB" == Mike Buglioli <[EMAIL PROTECTED]> writes: MB> Utilizing SSL with Apache is indeed a very simple modification to Apache true. MB> when there is not database parsing happening in the same process. no need for this qualifier. SSL and mod_perl are orthogonal technologies; the only i

Re: Apache::AuthCookie and SSL

2000-12-15 Thread JR Mayberry
actually you should be able to do a PerlSetVar to set that as well PetSetVar ApolloDomain .yourdomain.com i think will work John Walstra wrote: > > I'm having the problem with being logged out then I switch to a secure > document. I have to log back in to get to the page. And when I go from a

Re: Apache::AuthCookie and SSL

2000-12-15 Thread JR Mayberry
might wanna modify the source to set the domain to .yourdomain.com, as its probably now being set as secure.yourdomain.com or www.yourdomain.com i have the same setup here, it works fine.. John Walstra wrote: > > I'm having the problem with being logged out then I switch to a secure > document

Re: Email (mod_perl) Apache module?

2000-12-15 Thread brian moseley
On Fri, 15 Dec 2000, martin langhoff wrote: > I have this dangling idea of building a TWIG > lookalike (in Perl), with a 'plug-in'/'module' > structure, so I may write the email client, and others > fill with their desired modules. Anyway, it's a seriuos > undertaking, but it's in my plans

Re: Advocacy idea ...

2000-12-15 Thread Theo Petersen
Nathan Torkington wrote: > > I like the idea. Is there a threaded discussion package for mod_perl? > mwForum does a nice job, and runs under Apache::Registry. It allows both the usual threaded messaging and file uploads/downloads, so it's a natural for associating files and comments. I use it

Apache::AuthCookie and SSL

2000-12-15 Thread John Walstra
I'm having the problem with being logged out then I switch to a secure document. I have to log back in to get to the page. And when I go from a SSL page to a plain page it logs me out again. Any advise? Apache/1.3.12 (Unix) mod_perl/1.24 mod_ssl/2.6.6 OpenSSL/0.9.5a Apache::AuthCookie is version

SSL / Apache / .vtml

2000-12-15 Thread Mike Buglioli
Folks, I got this message from a vendor as to why they couldn't do SSL on their site...or that they couldn't, what does Apache say ? IDI Solutions Newsroom Manager and Grassroots Manager utilize not just the standard Apache web server, but create custom HTML pages for each user through the use o

Re: mod_perl tutorials

2000-12-15 Thread Max Calvo
I would like to offer my services as HTML coder for the website. I Also have experience with Adobe Photoshop and Illustrator. -Max

Re: Mod_perl tutorials

2000-12-15 Thread Max Calvo
Hi all; This is my first post in this mailing list. I am very interested in helping out getting the modperl tutorials out. I have experience with Photoshop, Illustrator and M$Office. I can help with the slices and web design. Please let me know where I can help out. -Max - Original Message

Multiple Internal Request Problem

2000-12-15 Thread Ryan Adams
Hello all, I'm trying to write a uri-based session-handling system that uses a PerlTransHandler to pull out the Session ID, validate it and store it into a Request Note. (Much like the example in the Eagle book) Rather than customizing every ContentHandler, however, it uses a subclass of Apache

ApacheCon 2001 Proposals: Less than a week left! (fwd)

2000-12-15 Thread Stas Bekman
don't miss the deadline!!! submit those mod_perl and related talks... -- Forwarded message -- Date: Fri, 15 Dec 2000 11:31:40 -0500 From: Rodent of Unusual Size <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: Apache Announcements <[EMAIL PROTECTED]>, ApacheCon Announcemen

Re: mod_perl tutorials

2000-12-15 Thread Stas Bekman
> I've been following this thread and just wanted to offer up my services at > an html coder for a mod_perl website. According to http://take23.org/contribute.xml/5#5 this kind of nice offers are to be submitted to [EMAIL PROTECTED] Thanks!

Re: greetings and questions

2000-12-15 Thread Stas Bekman
On Fri, 15 Dec 2000, Ajit Deshpande wrote: > On Fri, Dec 15, 2000 at 05:23:05PM +0100, Stas Bekman wrote: > > Currently I cannot use your TOC since: > > 1) it's automatically created > > I was proposing patching the CVS so that it Automatically generates > the new format It's Pod::HtmlPsPdf

Re: greetings and questions

2000-12-15 Thread Ajit Deshpande
On Fri, Dec 15, 2000 at 05:23:05PM +0100, Stas Bekman wrote: > Currently I cannot use your TOC since: > 1) it's automatically created I was proposing patching the CVS so that it Automatically generates the new format > 2) your toc grouping doesn't reflect the order the chapters should be rea

Re: greetings and questions

2000-12-15 Thread Stas Bekman
> On Fri, Dec 15, 2000 at 01:21:04PM +0100, Stas Bekman wrote: > > Hmm, should I add around it? Do others find it > > hidden? > > In fact I do. Also, are the other documents being maintained? Do you > really want users to go read the other ones? I'm cannot tell users not to read other documents

Re: fork inherits socket connection

2000-12-15 Thread Stas Bekman
On Fri, 15 Dec 2000, Vivek Khera wrote: > > "SB" == Stas Bekman <[EMAIL PROTECTED]> writes: > > SB> In fact this is correct. You've taken this snippet out of the context. It > SB> was in the section talking about spawning a process without fork. So it's > SB> absolutely correct. > > How exa

Perl 5.6.1 - When? [Was Re: Segmentation fault]

2000-12-15 Thread Ajit Deshpande
On Fri, Dec 15, 2000 at 09:43:05AM -0500, Vivek Khera wrote: > > Is there some place that has collected the "recommended" patches for > 5.6.0? There don't seem to be any patches for it on CPAN... You'd > think that 5.6.1 would come out by now to fix up the problems people > have been having with

Re: fork inherits socket connection

2000-12-15 Thread Vivek Khera
> "SB" == Stas Bekman <[EMAIL PROTECTED]> writes: SB> In fact this is correct. You've taken this snippet out of the context. It SB> was in the section talking about spawning a process without fork. So it's SB> absolutely correct. How exactly does one spawn a process without fork() in unix?

Re: fork inherits socket connection

2000-12-15 Thread Vivek Khera
> "KV72" == Kees Vonk 7249 24549 <[EMAIL PROTECTED]> writes: KV72> require 'sys/syscall.ph'; KV72> for (my $i=0; $i<=255; $i++) { KV72> syscall(&SYS_close, $i + 0); # must force numeric KV72> } KV72> the socket got released and I could restart the server. I KV72

mod_perl tutorials

2000-12-15 Thread Joe Grastara
I've been following this thread and just wanted to offer up my services at an html coder for a mod_perl website. Joe Grastara Project Assistant Digital Media Center The Skirball Institute Of Biomolecular Medicine New York University Medical Center 540 First Ave., New York City, NY 10016 USA [

Re: greetings and questions

2000-12-15 Thread Ajit Deshpande
On Fri, Dec 15, 2000 at 01:21:04PM +0100, Stas Bekman wrote: > Hmm, should I add around it? Do others find it > hidden? In fact I do. Also, are the other documents being maintained? Do you really want users to go read the other ones? Another thing I observed: The Guide is becoming almost TOO bi

offer of resources for Take23

2000-12-15 Thread brian d foy
i don't think my responses to yesterday's discussion made it to the list, so here's a summary: Smith Renaud or Perl Mongers can donate rack space, infrastructure, and other support to a new, canonical mod_perl site. we can either provide a box (which we then control, sysadmin and policy-wise),

Re: fork inherits socket connection

2000-12-15 Thread Bill Moseley
At 04:02 PM 12/15/00 +0100, Stas Bekman wrote: >> Am I missing something? > >You don't miss anything, the above code is an example of daemonization. >You don't really need to call setsid() for a *forked* process that was >started to execute something and quit. > >It's different if you call system

Re: fork inherits socket connection

2000-12-15 Thread Stas Bekman
> >But you don't need to call setsid() when you fork. Why looking for > >complicated workaround when you can do it properly without any workaround. > >Have you ever seen an example of fork that uses setsid? > > Yes, the following is taken straight out from the perlipc documentation: > ---

Re: fork inherits socket connection

2000-12-15 Thread Stas Bekman
On Fri, 15 Dec 2000, Kees Vonk 7249 24549 wrote: > > But you don't need to call setsid() when you fork. Why > > looking for complicated workaround when you can do it > > properly without any workaround. Have you ever seen an > > example of fork that uses setsid? > > Ok, > > here is my confusi

Re: Segmentation fault

2000-12-15 Thread Vivek Khera
> "JH" == Jeremy Howard <[EMAIL PROTECTED]> writes: JH> I suggested applying this patch: JH> http://www.geocrawler.com/archives/3/182/2000/6/0/3863601/ JH> Did this not work? After applying the patch did you recompile both Perl JH> _and_ mod_perl? Is there some place that has collected th

Re: fork inherits socket connection

2000-12-15 Thread Rafael Caceres
At 01:46 PM 12/15/00 +0100, you wrote: >On Fri, 15 Dec 2000, Kees Vonk 7249 24549 wrote: > > > Stas, > > > > I had the following in my code: > > > > my($nOrgPID) = fork; > > exit if $nOrgPID; > > die "Could not fork: $!" unless defined $nOrgPID; > > > > close STDIN; > >

Re: fork inherits socket connection

2000-12-15 Thread Kees Vonk 7249 24549
> But you don't need to call setsid() when you fork. Why > looking for complicated workaround when you can do it > properly without any workaround. Have you ever seen an > example of fork that uses setsid? Ok, here is my confusion: I call the the long running process from the modperl script wit

Re: greetings and questions

2000-12-15 Thread G.W. Haywood
Hi All, On Fri, 15 Dec 2000, Stas Bekman wrote: > Please don't take it personally, it's just that quite many people came > here asking questions that were long time ago answered and documented. It > just shows people's ignorance, lack of respect and wish to get things the > easy way. C'mon, St

RE: [OT]: Open Source ... was Re: Advocacy idea ...

2000-12-15 Thread Homsher, Dave V.
>>OK, you probably don't want it to be another mailing list >>then. But a web >>bbs that allows you to post replies to code. kind of ... I would like to see someplace to post _working_ code (complete or snippets) with an explanation of what you are trying to accomplish, and with any issues/spec

Re: fork inherits socket connection

2000-12-15 Thread Richard L. Goerwitz
Stas Bekman wrote: > > 1. Start the long running process (runs indefinitly for the > >purpose of this test), which closes STDOUT, STDIN and > >STDERR and then calls setsid(). > > Why do you call setsid()? He's probably thinking of traditional the traditional way in which you background

Re: fork inherits socket connection

2000-12-15 Thread Stas Bekman
On Fri, 15 Dec 2000, Stas Bekman wrote: > On Sat, 16 Dec 2000, Jeremy Howard wrote: > > > Stas Bekman wrote: > > > But you don't need to call setsid() when you fork. Why looking for > > > complicated workaround when you can do it properly without any workaround. > > > Have you ever seen an examp

Re: fork inherits socket connection

2000-12-15 Thread Stas Bekman
On Sat, 16 Dec 2000, Jeremy Howard wrote: > Stas Bekman wrote: > > But you don't need to call setsid() when you fork. Why looking for > > complicated workaround when you can do it properly without any workaround. > > Have you ever seen an example of fork that uses setsid? > > > But your Guide say

Re: greetings and questions

2000-12-15 Thread Stas Bekman
On Sat, 16 Dec 2000, Jeremy Howard wrote: > Stas Bekman wrote: > > Come'n, are you sure you have ever looked at perl.apache.org? > > > > http://perl.apache.org/#docs > > > > Books and Documentation: > > > >Writing Apache Modules with Perl and C book by > >

Re: fork inherits socket connection

2000-12-15 Thread Jeremy Howard
Stas Bekman wrote: > But you don't need to call setsid() when you fork. Why looking for > complicated workaround when you can do it properly without any workaround. > Have you ever seen an example of fork that uses setsid? > But your Guide says: A much better approach would be to spawn a sub-

Re: greetings and questions

2000-12-15 Thread Jeremy Howard
Stas Bekman wrote: > Come'n, are you sure you have ever looked at perl.apache.org? > > http://perl.apache.org/#docs > > Books and Documentation: > >Writing Apache Modules with Perl and C book by >Lincoln Stein and Doug MacEachern. > >

Re: fork inherits socket connection

2000-12-15 Thread Stas Bekman
On Fri, 15 Dec 2000, Kees Vonk 7249 24549 wrote: > Stas, > > I had the following in my code: > > my($nOrgPID) = fork; > exit if $nOrgPID; > die "Could not fork: $!" unless defined $nOrgPID; > > close STDIN; > close STDOUT; > close STDERR; > setsid() or

Re: greetings and questions

2000-12-15 Thread G.W. Haywood
Hi Stas, On Fri, 15 Dec 2000, Stas Bekman wrote: > Come'n, are you sure you have ever looked at perl.apache.org? [snip] > Hmm, should I add around it? How about :) 73, Ged.

Re: fork inherits socket connection

2000-12-15 Thread Kees Vonk 7249 24549
Stas, I had the following in my code: my($nOrgPID) = fork; exit if $nOrgPID; die "Could not fork: $!" unless defined $nOrgPID; close STDIN; close STDOUT; close STDERR; setsid() or die "Could not start new session: $!"; but that didn't work, however wh

Re: Email (mod_perl) Apache module?

2000-12-15 Thread martin langhoff
Jeremy Howard wrote: > IMHO, the best open source WebMail servers are PHP based true, I am using and patching TWIG quite a lot, and that made me see how messy PHP gets when dealing with libraries and things. It's not nice to see a large app written in PHP... at least not this one. I have

Re: greetings and questions

2000-12-15 Thread Stas Bekman
On Thu, 14 Dec 2000, Darren Duncan wrote: > Thanks to everyone who answered my questions in some form or other. > > As it is, I *had* been reading whatever manuals I found, but those > were the documentation that came with the mod_perl distribution on > CPAN. > > I was not aware of the existe

Re: Apache::LogSTDERR

2000-12-15 Thread Stas Bekman
> I read in the guide about Apache::LogSTDERR, but I don't seem > to be able to find it on CPAN. Can anyone tell where I can > find this? It was mentioned here: http://forum.swarthmore.edu/epigone/modperl/vixquimwhen I suppose I've documented it too early, it was never released. Doug? _

Re: HTML::Embperl::Execute modifying 'output' only once

2000-12-15 Thread Gerald Richter
> > I wrote some code for a forum, that displays user entered text, > turning all URLs found into real links. Here it is: > > [- @t = split(/\x0d\x0a/, $message); $r = ''; >{ > local $/ = "\x0d\x0a"; # for chomp below > for($i=0;$i < scalar @t;$i++) { >$out = ''; $t = $t[$i];

Re: fork inherits socket connection

2000-12-15 Thread Stas Bekman
On Fri, 15 Dec 2000, Kees Vonk 7249 24549 wrote: > Stas writes: > > How about > > > > close STDOUT; > > close STDIN; > > close STDERR; > > > > in your child code? > > > > check this out: > > > > http://perl.apache.org/guide/performance.html#Forking_and_Executing_Subprocess > > > > it's expl

Apache::LogSTDERR

2000-12-15 Thread Kees Vonk 7249 24549
I read in the guide about Apache::LogSTDERR, but I don't seem to be able to find it on CPAN. Can anyone tell where I can find this? Kees

Re: Advocacy idea ...

2000-12-15 Thread Alexander Farber (EED)
Let's create a "Mod_perl League" - it gives us at least one line on the first page of LWN.net

Re: fork inherits socket connection

2000-12-15 Thread Kees Vonk 7249 24549
Stas writes: > How about > > close STDOUT; > close STDIN; > close STDERR; > > in your child code? > > check this out: > > http://perl.apache.org/guide/performance.html#Forking_and_Executing_Subprocess > > it's explained there. I have tried closing STDOUT, STDIN and STDERR, but that doesn'

Re: is morning bug still relevant?

2000-12-15 Thread Tim Bunce
On Thu, Dec 14, 2000 at 07:54:06PM +0100, Stas Bekman wrote: > On Thu, 14 Dec 2000, Tom Brown wrote: > > > On Thu, 14 Dec 2000, Stas Bekman wrote: > > > > > On Thu, 14 Dec 2000, Tim Bunce wrote: > > > > > > > > On Thu, 14 Dec 2000, Stas Bekman wrote: > > > > > > > > > > > and the script was dy

Re: Email (mod_perl) Apache module?

2000-12-15 Thread Leon Brocard
Jeremy Howard sent the following bits through the ether: > IMHO, the best open source WebMail servers are PHP based: In Perl, there's also WING: http://users.ox.ac.uk/~mbeattie/wing/ and my oh-my-god-it's-still-in-development-and-I'm-still-breaking- the-CVS-version-and-it-still-doesn't-have-the-