Quoting Nate Hardt <[EMAIL PROTECTED]>:

> I have a few projects written with CGI::App right now. A couple of them 
> are lower traffic sites but now a few of them are falling into the realm 
> of performance intensive. I'd like to start using mod_perl for those 
> sites. Someone said that CGI::App was written with mod_perl in mind, so 
> I'm thinking this post is appropriate on this list.

There is quite a bit of stuff about mod_perl in the archives. 

http://www.mail-archive.com/cgi-bin/htsearch?method=and&format=short&config=cgiapp_lists_vm_com&restrict=&exclude=&words=mod_perl

The following link contains a message I sent to the list last year that explains
some methods that you can use to get mod_perl going for your CGI::App scripts.

http://www.mail-archive.com/[email protected]/msg00486.html

Also, make sure you check out the mod_perl guide for all the answers to the rest
of your questions.

http://perl.apache.org/docs/1.0/guide/

HTH

Cees

> 
> The server that I'm using has an option to enable mod_perl. After 
> checking that, I now have a perl directory in /var/www which I'm 
> guessing is where my mod_perl scripts would go. If I put all the cgi 
> scripts into that directory would I start to see performance 
> enhancements? Would I have to change any of the code (assuming that I am 
> currently cleaning up things properly, using strict, etc)? Would my 
> module files stay loaded in memory or is it just the perl intrepreter?
>  From what I've read, it looks like I would have to load the modules 
> with startup.pl or edit apache's config file to load my modules or maybe 
> use Apache::Registry to keeps my scripts loaded in memory. I don't know, 
> maybe this is more appropriate for the mod_perl list but if someone has 
> taken the step of moving a CGI::App site from regular perl to mod_perl 
> could you please point me in the right direction? I want to make sure 
> I'm hitting the right lake before I jump in with both feet.
> 
> All feedback is appreciated, thanks,
> Nate
> 
> 
> ---------------------------------------------------------------------
> Web Archive:  http://www.mail-archive.com/[email protected]/
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 



---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to