perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: mod_perl alias directories
Date Mon, 05 Nov 2001 01:45:11 GMT
Medi Montaseri wrote:

> I have successfully installed mod_perl and am using it. 
> I have two question.
> 
> 1- Currently I have designated a /pm directory to contain my mod_perl
> codes, a collection of classes. I then have instances of these launched
> from non /pm directory. I did this so that I don't have to be back at
> cgi-bin perdicament where all my CGIs are in one directory. I never
> liked that style. But I'm still forced to put my base classes in /pm.
> 
> Is there a way to instruct HTTP that perl code in any directory should
> be used as mod_perl similar to ExecCGI. Or perhaps for a better/cleaner
> approach, any perl code with some extension such as foo.cgi-mp or foo.cmp
> (Cgi-Mod-Perl).
> 
> 2- I currently have to restart my HTTP for changes to my mod_perl code
> take affect. Is there any way so I don't have to do this. I can see that
> this is not going to work in a large organization where IT handles the
> production web servers.

Both answered here:
http://perl.apache.org/guide/

_____________________________________________________________________
Stas Bekman             JAm_pH      --   Just Another mod_perl Hacker
http://stason.org/      mod_perl Guide   http://perl.apache.org/guide
mailto:stas@stason.org  http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/


Mime
View raw message