SV: mysqlsupport for virtuals.

2002-07-30 Thread Jonas Eriksson


Well.. I want it to work with apache 2.0x
but thanks anyway.



-Ursprungligt meddelande-
Från: Jacob Rief [mailto:[EMAIL PROTECTED]] 
Skickat: den 30 juli 2002 14:20
Till: [EMAIL PROTECTED]
Ämne: Re: mysqlsupport for virtuals.


I did some work on this. I am using mod_rewrite
and do a dynamical lookup for a rewrite-map using
LDAP. If you wish you may use a RDB instead of LDAP:
This dynamic rewrite-map then can be used to map virtual
hosts and whatever you want.

The biggest problem with mod_rewrite is, that it does
allow only one instance of a mapping program to run.
And if this progam has a problem, the whole webserver
has a problem. I therefore wrote a patch which allows 
to link dynamically such a mapping-dso into mod_rewrite.

Unfortunately nobody from the Apache-group was ever
interrested in this patch. Not even comments.

Have a look at
http://bugs.apache.org/index.cgi/full/7688
and
http://homes.tiscover.com/jrief/apache_1.3.19-rewrite-dso.patch
BTW: the patch works up to version 1.3.26.

Jacob




On Wed, 2002-07-24 at 17:50, Jonas Eriksson wrote:
> Hi
> 
> My http.conf file grows every day and its getting big...
> It's getting hard to find anyting without seartching in it.
> 
> My question is :
> 
> I like to move all virtualshosts away from httpd.conf in to a mysql
server.
> My doing that it would be muth easy to maintain my virtualhosts.
> 
> Have someone tried this without loosing  preformance?
>  
>  
>






Re: mysqlsupport for virtuals.

2002-07-30 Thread Jacob Rief

I did some work on this. I am using mod_rewrite
and do a dynamical lookup for a rewrite-map using
LDAP. If you wish you may use a RDB instead of LDAP:
This dynamic rewrite-map then can be used to map virtual
hosts and whatever you want.

The biggest problem with mod_rewrite is, that it does
allow only one instance of a mapping program to run.
And if this progam has a problem, the whole webserver
has a problem. I therefore wrote a patch which allows 
to link dynamically such a mapping-dso into mod_rewrite.

Unfortunately nobody from the Apache-group was ever
interrested in this patch. Not even comments.

Have a look at
http://bugs.apache.org/index.cgi/full/7688
and
http://homes.tiscover.com/jrief/apache_1.3.19-rewrite-dso.patch
BTW: the patch works up to version 1.3.26.

Jacob




On Wed, 2002-07-24 at 17:50, Jonas Eriksson wrote:
> Hi
> 
> My http.conf file grows every day and its getting big...
> It's getting hard to find anyting without seartching in it.
> 
> My question is :
> 
> I like to move all virtualshosts away from httpd.conf in to a mysql server.
> My doing that it would be muth easy to maintain my virtualhosts.
> 
> Have someone tried this without loosing  preformance?
>  
>  
>





Re: mysqlsupport for virtuals.

2002-07-24 Thread Jonas Eriksson

I wait for it..

/ Jonas






> Hi Jonas,
> 
> i'm actually workin on hacking a module for this. (ie, like mod_vhost_alias,
> but uses a db)
> 
> give me maybe a few weeks and i'll publish..
> 
>  -- james
> 
> >
> > Hi
> >
> > My http.conf file grows every day and its getting big...
> > It's getting hard to find anyting without seartching in it.
> >
> > My question is :
> >
> > I like to move all virtualshosts away from httpd.conf in to a
> > mysql server.
> > My doing that it would be muth easy to maintain my virtualhosts.
> >
> > Have someone tried this without loosing  preformance?
> >
> >
> >
> >
> >
> 
> 




RE: mysqlsupport for virtuals.

2002-07-24 Thread john

Even Better:  lets just make the whole damn configuration interface pluggable
(yup, this has been suggested since the dinosaurs.).  We're on the right
track now that the config file is parsed at startup time

sterling

>-- Original Message --
>Reply-To: [EMAIL PROTECTED]
>From: "Jonas Eriksson" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Subject: mysqlsupport for virtuals.
>Date: Wed, 24 Jul 2002 17:50:22 +0200
>
>
>Hi
>
>My http.conf file grows every day and its getting big...
>It's getting hard to find anyting without seartching in it.
>
>My question is :
>
>I like to move all virtualshosts away from httpd.conf in to a mysql server.
>My doing that it would be muth easy to maintain my virtualhosts.
>
>Have someone tried this without loosing  preformance?
>
>
>
>





RE: mysqlsupport for virtuals.

2002-07-24 Thread James Cox

Hi Jonas,

i'm actually workin on hacking a module for this. (ie, like mod_vhost_alias,
but uses a db)

give me maybe a few weeks and i'll publish..

 -- james

>
> Hi
>
> My http.conf file grows every day and its getting big...
> It's getting hard to find anyting without seartching in it.
>
> My question is :
>
> I like to move all virtualshosts away from httpd.conf in to a
> mysql server.
> My doing that it would be muth easy to maintain my virtualhosts.
>
> Have someone tried this without loosing  preformance?
>
>
>
>
>




mysqlsupport for virtuals.

2002-07-24 Thread Jonas Eriksson

Hi

My http.conf file grows every day and its getting big...
It's getting hard to find anyting without seartching in it.

My question is :

I like to move all virtualshosts away from httpd.conf in to a mysql server.
My doing that it would be muth easy to maintain my virtualhosts.

Have someone tried this without loosing  preformance?