Re: General mod_perl httpd configuration question
[prev]
[thread]
[next]
[Date index for 2005/04/07]
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
---------------------------------
Frank Wiles <frank@xxxxx.xxx>
http://www.wiles.org
---------------------------------
 |
 |
Re: General mod_perl httpd configuration question
Frank Wiles 14:05 on 07 Apr 2005
|