All in , or use ?

2007-11-15 Thread Doug Milam
Greetings, I'd like to run the Birch photoblog under mod_perl as the app has several .cgi pages which utilize includes. However, I'm in a quandry as to the server's configuration. Suggestions welcome: Options ExecCGI Includes AllowOverride All Order allow,deny A

[mp2] mod_perl segfaults in XS_Apache2__RequestRec_send_cgi_header

2007-11-15 Thread David Eisner
-8<-- Start Bug Report 8<-- 1. Problem Description: Summary: mod_perl is making httpd segfault. I'm developing a PerlAccessHandler that will check for a cookie to see if the user has accepted a legal agreement before allowing them to visit a page. If the c

Re: Parallel processing within mod_perl

2007-11-15 Thread Michael Lackhoff
On 15.11.2007 13:06 Andy Armstrong wrote: > On 15 Nov 2007, at 08:35, Michael Lackhoff wrote: >> Thanks, it really works (more tests to come but it looks good so far)! >> I had only some easy to fix problems: >> 1. in line 434 of Iterator.pm I had to replace 'exit' with 'CORE::exit' > > Ah. I ass

Re: Parallel processing within mod_perl

2007-11-15 Thread Andy Armstrong
On 15 Nov 2007, at 12:30, Michael Lackhoff wrote: Yes. http://perl.apache.org/docs/1.0/guide/performance.html#Forking_a_New_Process gives an explanation: you must use CORE::exit() and not exit(), which would be automatically overridden by Apache::exit() if used in conjunction with Apache::Reg

Re: Parallel processing within mod_perl

2007-11-15 Thread Andy Armstrong
On 15 Nov 2007, at 08:35, Michael Lackhoff wrote: Thanks, it really works (more tests to come but it looks good so far)! I had only some easy to fix problems: 1. in line 434 of Iterator.pm I had to replace 'exit' with 'CORE::exit' Ah. I assume that's a mod_perl thing? 2. A minor doc error/m

Re: Pb w/ Archive::Zip under Mac OS X 10.5

2007-11-15 Thread Laurent MARTIN
Did you upgrade this machine though? It's possible that you had a different perl before and that Archive::Zip was compiled with it. Finally, yesterday evening, I've fully compiled and installed Apache2, mod_perl2, Apache2::Request by myself: things are going much better and problems I had (cr

Re: Parallel processing within mod_perl

2007-11-15 Thread Michael Lackhoff
On 14.11.2007 17:03 Andy Armstrong wrote: > I've never tried it under MP or MP2 but Parallel::Iterator[1] is > designed to make this kind of thing easy. It hides the details of > forking, waiting and getting results back. > > I'd be interested to know if you find it useful. And if you give it a g