perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Perrin Harkins" <>
Subject Re: mod_perl alias directories
Date Mon, 05 Nov 2001 04:03:43 GMT
> 1- Currently I have designated a /pm directory to contain my mod_perl
> codes, a collection of classes. I then have instances of these
> 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
> approach, any perl code with some extension such as foo.cgi-mp or
> (Cgi-Mod-Perl).

Look at the <FilesMatch> directive in the Apache documentation.  You
might also want Apache::Dispatch.

> 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.

Apache::StatINC or Apache::Reload.

- Perrin

View raw message