Re: How find out mod_perl files

Bruce Johnson <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
On Mar 16, 2011, at 10:07 AM, shant..... wrote:

> HI All,
> 
> I  m  working  on project which is built using  perl,CGI , mod_perl and
> Apche 1.3. i have  over 800+ files , is there best  way to find how  many
> mod_perl  files out of  800?

mod_perl is a function of Apache, not the perl scripts. IIRC, you can specify that some directories not use mod_perl via httpd.conf directives, or run used-to-be CGI files under mod_perl (with varying success...if they were written with 'use strict;' in place they should run ok. 

They may run optimally, and there are gotchas, particularly around things like 'use somefile.pl;' to include stuff in a re-usable fashion, but in our experience moving about 50-70 scripts from a non-mod_perl Apache 1.3 system to a mod_perl Apache 2.0 system, very few things broke.)

See:

<http://www.dlhoffman.com/publiclibrary/software/mod_perl/mod_perl_cgi.html#>

See also:

<http://docstore.mik.ua/orelly/weblinux2/modperl/ch02_06.htm>

The first thing to try, imo, is just set up the new Apache server with mod_perl and run through the apps, see what breaks...no need to fix things that aren't broken.

-- 
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.