2008/3/20, Roberto C. Sánchez <[EMAIL PROTECTED]>:
> On Thu, Mar 20, 2008 at 06:50:55PM +0100, Valerio wrote:
>  > Hi all,
>  >
>  > I am new of this mailing list.
>  > I spent the last 3 days studying mod_perl and apache: I am trying to
>  > configure dynamic virtual hosts on apache.
>  > I need to query a db to get the real filesystem location of a virtual
>  > server hosted.
>  > (I query the db using the requested hostname)
>  >
>
> Why not just configure your system such that the requested hostname
>  corresponds to its location on the filesystem.  It seems like you are
>  doing to much work if you need to query a database.
>
>  Regards,
>
>  -Roberto
>
>
>  --
>  Roberto C. Sánchez
>  http://people.connexer.com/~roberto
>  http://www.connexer.com
>
> -----BEGIN PGP SIGNATURE-----
>  Version: GnuPG v1.4.6 (GNU/Linux)
>
>  iD8DBQFH4rLa5SXWIKfIlGQRApHoAJ9R8uq3r7q/LytbnM8vuNo6HEg1xACffDp6
>  UN/6ED5mGa7ap4hiCUtH1L4=
>  =JN2S
>  -----END PGP SIGNATURE-----
>
>


We need a database backend because we need to develop a big hosting
platform, where each user have one or more domains registered and
linked to his account and we may also need different configurations
for each user.
So we think to create these configurations on the fly, using mod_perl
and a database backend.

Reply via email to