apache DBI Global $r object is not available

2009-01-12 Thread Tech list

I've used the SVN version, but still have this issue with Apache 2.2
on FreeBSD 7.1.  Is there a fix?

Thanks!

Ryan


Re: Multiple mod_perl 2.0 installations on one Linux machine

2009-01-19 Thread Tech list
Why not just run multiple httpds?  I do it, but I have multiple IPs  
and that may be a requirement for running different httpds.



On Jan 19, 2009, at 12:45 PM, Adam Prime wrote:


Perrin Harkins wrote:
On Mon, Jan 19, 2009 at 1:37 PM, Adam Prime  
 wrote:

Perrin Harkins wrote:
Hmm, isn't the MPM just a runtime configuration?  Why would you  
need
another httpd install?  It sounds like a separate config file  
would do

it, if that's all you want to change.

MPM is a build time configuration via the --with-mpm= to ./configure

I thought you could build more than one and load the one you want at
runtime.  Isn't that what Red Hat does?


If redhat's shipping more than one mpm, they've patched httpd.  
According to the 2.2 docs, you have to choose exactly one MPM:


--with-mpm=MPM

   Choose the process model for your server. You have to select  
exactly one Multi-Processing Module. Otherwise the default MPM for  
your operating system will be taken. Possible MPMs are beos,  
mpmt_os2, prefork, and worker.


http://httpd.apache.org/docs/2.2/programs/configure.html

Adam




cgi to mod_perl?

2010-02-07 Thread tech list
Hi again,

We have the projects which were written by perl CGI.
All programs and modules are developed with good style, "use strict"
and "use warnings" are enabled.
Can we simply move all the scripts to run under modperl's Registry?
Will they go without problems? How much improvement for the performance?

Thanks.


Re: cgi to mod_perl?

2010-02-08 Thread tech list
On Mon, Feb 8, 2010 at 4:29 PM, André Warnier  wrote:

> About your last question : a lot.
> About the other question :
> It depends. Generally, yes. But you should really read the documentation
> here : http://perl.apache.org/docs/2.0/user/index.html
> The time you will spend initially reading this documentation, will be saved
> 100 times afterward.
> Also, start with Apache 2.2 and mod_perl 2.x.


Thanks for your kind suggestion.