Re: reinitializing Perl's notion of $$ in mod_perl

2008-04-17 Thread Philippe M. Chiasson
Mark Blackman wrote: On 16 Apr 2008, at 10:24, Mark Blackman wrote: On 16 Apr 2008, at 08:42, Philippe M. Chiasson wrote: Can you try this simple patch and see if it makes your troubles go away. It does indeed have the desired effect of getting $$ reset to the child pid by the time the

[ANNOUNCE] mod_perl-2.0.4

2008-04-17 Thread Philippe M. Chiasson
Finally, it's here and it works with Perl 5.10! http://apache.org/dist/perl/mod_perl-2.0.4.tar.gz http://apache.org/dist/perl/mod_perl-2.0.4.tar.gz.asc (pgp sig) The package is also available on CPAN: file: $CPAN/authors/id/G/GO/GOZER/mod_perl-2.0.4.tar.gz size: 3727717 bytes md5:

Re: reinitializing Perl's notion of $$ in mod_perl

2008-04-17 Thread Mark Blackman
On 17 Apr 2008, at 07:46, Philippe M. Chiasson wrote: Mark Blackman wrote: On 16 Apr 2008, at 10:24, Mark Blackman wrote: On 16 Apr 2008, at 08:42, Philippe M. Chiasson wrote: Can you try this simple patch and see if it makes your troubles go away. It does indeed have the desired effect

HTTP request using mod_perl - permission denied on localhost

2008-04-17 Thread Valerio
Hi all, I have a mod_perl script which works at PerlTransHandler level, and translates the virtual host requested to the real system path where site's pages are stored. To do this translation, I tried two solutions: - ask to a db - ask to a php script on another apache which makes the traslation.

Re: HTTP request using mod_perl - permission denied on localhost

2008-04-17 Thread Valerio
Hi all, I solved the problem: it is not a problem of mod_perl, or perl, or linux... it is a problem of Fedora and SELinux, which prevents a cgi to open a socket on the same system... Valerio 2008/4/17, Valerio [EMAIL PROTECTED]: Hi all, I have a mod_perl script which works at

Re: [ANNOUNCE] mod_perl-2.0.4

2008-04-17 Thread Foo JH
Alas, I have bad news to report: Tech stack: Windows 2003 Server Apache 2.2.4 Perl 5.10.0 mod_perl 2.0.4 from 10xx/ path Observations: 1. mod_perl is able to start 2. mod_perl is unable to survive an Apache restart signal 3. (relavant) error log available below: [Thu Apr 17 23:39:34 2008]

Re: WELCOME to modperl@perl.apache.org

2008-04-17 Thread Zsolt Kecskemeti
Hi, At http://perl.apache.org/docs/2.0/user/config/custom.html#C_SERVER_CREATE_it should be noted about this function (and also about DIR_CREATE) that it will be called if there is at least one custom directive present in httpd.conf. So setting so called 'system defaults' is not possible this

Re: Session handling

2008-04-17 Thread Malcolm
On Thursday 17 April 2008 01:04:14 Tracy12 wrote: for session handling we use CGI:Session cpan distribution, we do use local file for cookie storage, eventhough the session time out is 30, sometimes the set information in the session get lost before that, has anybody experience this before.

Forking a process [in Practical mod_perl book]

2008-04-17 Thread Raymond Wan
Hi all, I'm trying to fork a long-running process which I do not want to wait for. I was getting a lot of ssh defunct processes, so I did some googling and found this from the aforementioned O'reilly book: http://www.perl.com/lpt/a/701 And sure enough, there's a section on Avoiding

Re: [ANNOUNCE] mod_perl-2.0.4

2008-04-17 Thread Helmut Zeilinger
Hi Philippe, Software: Linux 2.6.15-gentoo-r1 perl v5.8.8 (perl -V see below) mod_perl-2.0.4 1) apache 2.0.63 = works without problems (so far testet) 2) apache 2.2.6 + 2.2.8 = at server start.= .. /usr/local/apache2/bin/apachectl: line 78: 14924 Segmentation fault $HTTPD $ARGV

Re: Forking a process [in Practical mod_perl book]

2008-04-17 Thread Raymond Wan
Hi all, Raymond Wan wrote: - my $r = shift; $r-send_http_header('text/plain'); - Sorry for the trouble but while googling for the problem, I came by the reason: send the output of system() to the client: http://www.mail-archive.com/[EMAIL PROTECTED]/msg36062.html I also

Re: [ANNOUNCE] mod_perl-2.0.4

2008-04-17 Thread Issac Goldstand
I think we knew that (or am I getting mixed up with the mp1 RC?) and it was supposed to be a known issue... Issac Foo JH wrote: Alas, I have bad news to report: Tech stack: Windows 2003 Server Apache 2.2.4 Perl 5.10.0 mod_perl 2.0.4 from 10xx/ path Observations: 1. mod_perl is able to

Re: Session handling

2008-04-17 Thread Tracy12
We do run a cron job to clean up the cache, Anyhow even it contains old data, they are basically expired, I can't understand how that gonna cause this issue, To my understanding we clean up the cache primarily because it is just filling up the hard disk, Other thing is I did not mention any

Re: [ANNOUNCE] mod_perl-2.0.4

2008-04-17 Thread Foo JH
I don't know if it's known, but 2.2.4 is a relatively stable version in conjunction with AP5.8 + mp2. I guess this means I can't move into 5.10 yet. Issac Goldstand wrote: I think we knew that (or am I getting mixed up with the mp1 RC?) and it was supposed to be a known issue... Issac

svn commit: r648962 - /perl/modperl/tags/2_0_4/

2008-04-17 Thread gozer
Author: gozer Date: Wed Apr 16 23:07:13 2008 New Revision: 648962 URL: http://svn.apache.org/viewvc?rev=648962view=rev Log: Releasing 2.0.4 Added: perl/modperl/tags/2_0_4/ - copied from r648961, perl/modperl/trunk/

svn commit: r648975 - in /perl/modperl/trunk: Changes RELEASE STATUS lib/mod_perl2.pm

2008-04-17 Thread gozer
Author: gozer Date: Wed Apr 16 23:37:13 2008 New Revision: 648975 URL: http://svn.apache.org/viewvc?rev=648975view=rev Log: start 2.0.4-dev cycle Modified: perl/modperl/trunk/Changes perl/modperl/trunk/RELEASE perl/modperl/trunk/STATUS perl/modperl/trunk/lib/mod_perl2.pm

svn commit: r648991 - in /perl/modperl/trunk: Makefile.PL RELEASE

2008-04-17 Thread gozer
Author: gozer Date: Thu Apr 17 01:02:01 2008 New Revision: 648991 URL: http://svn.apache.org/viewvc?rev=648991view=rev Log: Cleanup the RELEASE instructions for next time. Modified: perl/modperl/trunk/Makefile.PL perl/modperl/trunk/RELEASE Modified: perl/modperl/trunk/Makefile.PL URL: