Re: what should be done in a vhost_db module?

2008-04-08 Thread Joe Lewis
Robert Schulze wrote: Tom Donovan schrieb: In a threaded mpm, the same r-server struct is used by multiple requests simultaneously. It isn't safe to change anything in it on the fly. OK, thats a pity. I now tried to set several other variables (Host in r-headers_in, r-hostname, etc.)

Re: what should be done in a vhost_db module?

2008-04-07 Thread Robert Schulze
Hi, ed schrieb: I'm not sure that I understand what you're doing here by creating virtual hosts on the fly, I mean, on request basis (from a db). So what I wanted to know is, whether there are any hints, what a mod_vhost_??? module is supposed to do (or set). I'm now setting

Re: what should be done in a vhost_db module?

2008-04-07 Thread Tom Donovan
Robert Schulze wrote: Hi, I'm currently working on a module to create virtualhosts on the fly out of a cdb-database file. ... In one module I saw the following: request_rec *top = (r-main)?r-main:r; /* ... */

what should be done in a vhost_db module?

2008-04-04 Thread Robert Schulze
Hi, I'm currently working on a module to create virtualhosts on the fly out of a cdb-database file. I looked at some module which do basically the same with other data sources. What I now wonder is, what else I have to do except for setting the r-filename and maybe some script-alias-foo.

Re: what should be done in a vhost_db module?

2008-04-04 Thread ed
On Fri, 04 Apr 2008 11:59:08 +0200 Robert Schulze [EMAIL PROTECTED] wrote: Hi, I'm currently working on a module to create virtualhosts on the fly out of a cdb-database file. I looked at some module which do basically the same with other data sources. What I now wonder is, what else I