Re: General mod_perl httpd configuration question

[prev] [thread] [next] [Date index for 2005/04/07]

From: Stas Bekman
Subject: Re: General mod_perl httpd configuration question
Date: 14:16 on 07 Apr 2005
Frank Wiles wrote:
> On Wed, 6 Apr 2005 21:58:56 +0100 
> Simon Matthews <sam@xxxxxxxxxxxxx.xxx> wrote:
> 
> 
>>I have a number of applications built around mod_perl 1.0 and I am
>>considering porting these over to 2.0.
>>
>>One of the questions that has come up here recently is can mod_perl
>>modify the httpd configuration dynamically after server startup.  
>>
>>We currently build the server configuration from entries in a sql
>>database which means that we can add customer specific sites by
>>configuring entries in our database.  The benefit of this approach is
>>that we are not having to do dynamic calls for all pages.  However it
>>does mean that we have to restart the server when we want a new part
>>of the site available.  I have considered using a hybrid approach of
>>static configuration on server startup and dynamic for anything that
>>is created after startup.  It would be great if I could effectively
>>create a /Location or /Alias entry dynamically through perl code.  Is
>>this possible in either 1.0 or 2.0. 
> 
> 
>   Yes this is possible with both versions.  I couldn't find any 2.0
>   specific docs on this, but here is the relevant section of the
>   1.0 docs: 
>  
> http://perl.apache.org/docs/1.0/guide/config.html#Apache_Configuration_in_Perl

mp2.0:
http://perl.apache.org/docs/2.0/user/config/config.html#C_E_lt_PerlE_gt___Sections

        -- 
        __________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

General mod_perl httpd configuration question
Simon Matthews 20:58 on 06 Apr 2005

Re: General mod_perl httpd configuration question
Stas Bekman 14:16 on 07 Apr 2005

Re: General mod_perl httpd configuration question
Perrin Harkins 16:19 on 07 Apr 2005

Re: General mod_perl httpd configuration question
Perrin Harkins 18:36 on 07 Apr 2005

RE: General mod_perl httpd configuration question
Simon Matthews 16:58 on 07 Apr 2005

RE: General mod_perl httpd configuration question
Simon Matthews 20:37 on 07 Apr 2005

Generated at 14:43 on 11 Apr 2005 by mariachi v0.52