You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Curtis Poe <cu...@kineticode.com> on 2005/12/30 19:30:54 UTC

Adding customs httpd.conf data in mod_perl 2.0

Hi all,

I've been searching like mad through the docs for how to do something 
that I know must be really simple.  Let's say that I've added something 
like that to httpd.conf:

   PerlModule Some::Application

   <VirtualHost *>
     ServerName    some.application
     DocumentRoot /some/non_standard/path

     <Location />
         SetHandler modperl
         PerlResponseHandler Some::Application
         Order allow,deny
         Allow from all
     </Location>
   </VirtualHost>

So far, something like this has worked well for me getting my app and 
up and running.  However, what I need to be able to do is let someone 
have a running mod_perl 2 setup and dynamically "pull in" the above 
information from an external file or add that information via Perl (in 
other words, I don't want to touch the default httpd.conf file).  How 
the heck do I do that?

Cheers,
Curtis "Ovid" Poe
Software Engineer
Kineticode, Inc.