Re: mod_perl2 and PHP

2005-08-08 Thread Dominique Quatravaux
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas Klausner wrote: > Hi! > > Is it possible and advisable to write the complex part of an > application (the Controller, if you like) in mod_perl2 and use PHP > as a frontend (or View) ? It definitely is, we did just that in my shop: there is som

redirect doesn't work in eval

2005-08-08 Thread Marc Lambrichs
When a request is sent to the webserver, it handles some stuff and then - sometimes - a redirect must take place. Now the weird part: when i use $r->headers_out->set( Location => 'http://www.mysite.com/' ); return Apache2::Const::REDIRECT inside an eval{} construction it doesn't work. Is there a

Re: [PATCH] Apache2::SizeLimit on Linux

2005-08-08 Thread Perrin Harkins
On Sun, 2005-08-07 at 20:37 +0200, Torsten Foertsch wrote: > the attached patch allows Apache2::SizeLimit to use the new /proc/PID/smaps > instead of /proc/PID/statm. This takes into account copy-on-write pages when > counting shared memory. Thanks, Torsten. I saw your module hit CPAN and was t

Re: mod_perl2 and PHP

2005-08-08 Thread Geoffrey Young
Dominique Quatravaux wrote: > $r->subprocess_env() (undocumented but present in mod_perl > 1.3 > > $r->internal_redirect() (again undocumented but present in mod_perl > 1.3 unless you mean strictly in terms of what you're doing with php, this is certainly FUD - perldoc Apache lists both of thes

Re: redirect doesn't work in eval

2005-08-08 Thread Philip M. Gollucci
Marc Lambrichs wrote: When a request is sent to the webserver, it handles some stuff and then - sometimes - a redirect must take place. Now the weird part: when i use $r->headers_out->set( Location => 'http://www.mysite.com/' ); return Apache2::Const::REDIRECT inside an eval{} construction it d