General mod_perl httpd configuration question

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

From: Simon Matthews
Subject: General mod_perl httpd configuration question
Date: 20:58 on 06 Apr 2005
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C53AEB.72613F6A
Content-Type: text/plain


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. 

S

------_=_NextPart_001_01C53AEB.72613F6A
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DUS-ASCII">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>General mod_perl httpd configuration question</TITLE>
</HEAD>
<BODY>
<BR>

<P><FONT SIZE=3D2>I have a number of applications built around mod_perl =
1.0 and I am considering porting these over to 2.0.</FONT>
</P>

<P><FONT SIZE=3D2>One of the questions that has come up here recently =
is can mod_perl modify the httpd configuration dynamically after server =
startup.&nbsp; </FONT></P>

<P><FONT SIZE=3D2>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.&nbsp; The benefit of this =
approach is that we are not having to do dynamic calls for all =
pages.&nbsp; However it does mean that we have to restart the server =
when we want a new part of the site available.&nbsp; I have considered =
using a hybrid approach of static configuration on server startup and =
dynamic for anything that is created after startup.&nbsp; It would be =
great if I could effectively create a /Location or /Alias entry =
dynamically through perl code.&nbsp; Is this possible in either 1.0 or =
2.0. </FONT></P>

<P><FONT SIZE=3D2>S</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C53AEB.72613F6A--

General mod_perl httpd configuration question
Simon Matthews 20:58 on 06 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