Re: [MP2] Setting up seperate logs for virtual hosts from a database

2004-01-27 Thread Elizabeth Mattijsen
At 15:36 -0800 1/27/04, Stas Bekman wrote: Egor Shipovalov wrote: Can I add vhosts with $s->add_config? Something like: $s->add_config( "VirtualHost foo.com:80" ); $s->add_config( "VirtualHost bar.com:80" ); and then do the loop with $s->next? Or am I now stretching the API beyond to what

Re: [MP2] Setting up seperate logs for virtual hosts from a database

2004-01-27 Thread Stas Bekman
Egor Shipovalov wrote: Can I add vhosts with $s->add_config? Something like: $s->add_config( "VirtualHost foo.com:80" ); $s->add_config( "VirtualHost bar.com:80" ); and then do the loop with $s->next? Or am I now stretching the API beyond to what was intended? I once was in your position

Re: [MP2] Setting up seperate logs for virtual hosts from a database

2004-01-26 Thread Elizabeth Mattijsen
At 13:55 -0800 1/26/04, Stas Bekman wrote: You don't need the loop, I was talking about adding directives to an already existing vhosts. Just do at startup.pl or sections: my $config = get_my_httpd_conf_config(); $s->add_config([split /\n/, $config]); get_my_httpd_conf_config() should return th

Re: [MP2] Setting up seperate logs for virtual hosts from a database

2004-01-26 Thread Stas Bekman
Elizabeth Mattijsen wrote: At 13:55 -0800 1/26/04, Stas Bekman wrote: You don't need the loop, I was talking about adding directives to an already existing vhosts. Just do at startup.pl or sections: my $config = get_my_httpd_conf_config(); $s->add_config([split /\n/, $config]); get_my_httpd_co

RE: [MP2] Setting up seperate logs for virtual hosts from a database

2004-01-26 Thread Egor Shipovalov
> Can I add vhosts with $s->add_config? Something like: > >$s->add_config( "VirtualHost foo.com:80" ); >$s->add_config( "VirtualHost bar.com:80" ); > > and then do the loop with $s->next? Or am I now stretching the API > beyond to what was intended? I once was in your position and f

Re: [MP2] Setting up seperate logs for virtual hosts from a database

2004-01-26 Thread Stas Bekman
Elizabeth Mattijsen wrote: At 11:42 -0800 1/26/04, Stas Bekman wrote: Elizabeth Mattijsen wrote: Well, the error log wouldn't be such a problem. There is an advantage to getting all of the errors in one place. But the access logs, now that would be nice... ;-) At the moment you can try to tr

Re: [MP2] Setting up seperate logs for virtual hosts from a database

2004-01-26 Thread Elizabeth Mattijsen
At 11:42 -0800 1/26/04, Stas Bekman wrote: Elizabeth Mattijsen wrote: Well, the error log wouldn't be such a problem. There is an advantage to getting all of the errors in one place. But the access logs, now that would be nice... ;-) At the moment you can try to traverse the servers chaing usi

Re: [MP2] Setting up seperate logs for virtual hosts from a database

2004-01-26 Thread Stas Bekman
Elizabeth Mattijsen wrote: At 11:07 -0800 1/26/04, Stas Bekman wrote: Geoffrey Young wrote: Elizabeth Mattijsen wrote: I have the configuration of a number of virtual hosts in a database. Only those virtual hosts are handled by the Apache 2 server. Basically, all requests are handled by the same

Re: [MP2] Setting up seperate logs for virtual hosts from a database

2004-01-26 Thread Elizabeth Mattijsen
At 11:07 -0800 1/26/04, Stas Bekman wrote: Geoffrey Young wrote: Elizabeth Mattijsen wrote: I have the configuration of a number of virtual hosts in a database. Only those virtual hosts are handled by the Apache 2 server. Basically, all requests are handled by the same Perl code. And everything is

Re: [MP2] Setting up seperate logs for virtual hosts from a database

2004-01-26 Thread Stas Bekman
Geoffrey Young wrote: Elizabeth Mattijsen wrote: I have the configuration of a number of virtual hosts in a database. Only those virtual hosts are handled by the Apache 2 server. Basically, all requests are handled by the same Perl code. And everything is set up from a PerlRequire file. This is a

Re: [MP2] Setting up seperate logs for virtual hosts from a database

2004-01-26 Thread Geoffrey Young
Elizabeth Mattijsen wrote: > I have the configuration of a number of virtual hosts in a database. > Only those virtual hosts are handled by the Apache 2 server. Basically, > all requests are handled by the same Perl code. And everything is set > up from a PerlRequire file. > > This is all fine

[MP2] Setting up seperate logs for virtual hosts from a database

2004-01-25 Thread Elizabeth Mattijsen
I have the configuration of a number of virtual hosts in a database. Only those virtual hosts are handled by the Apache 2 server. Basically, all requests are handled by the same Perl code. And everything is set up from a PerlRequire file. This is all fine and dandy, but I would like each virtu