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

[mp1] RH9 / apache 1.3.29 / mod_perl 1.29 / perl 5.8.0 segfault

2004-01-26 Thread Matthew Avitable
Hi Folks, This one has me stumped. After installing with clean tarballs of apache_1.3.29 and mod_perl-1.29 on a RedHat 9 box, I'm getting a segfault upon making a request. I'm not executing any perl handler at all - in fact, none are configured in my httpd.conf. I'm just requesting a file.

Debugging with Apache::DB: how to disable unneeded debug output?

2004-01-26 Thread Egor Shipovalov
Hello, Everyone. I'm pretty sure it's a stupid question and I'll be ashamed when I hear the answer, but every once in a while we all get stuck with such. I'm debugging my mod_perl/Mason application interactively using Apache::DB. While everything seem to work as advertised, I get a lot of unneede

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: Apache::Request vs Apache->request

2004-01-26 Thread Stas Bekman
Clayton Cottingham wrote: while i understand the difference between these two i am unsure how to handle these back and forth. let me explain: There are not the same thing. I have an upload module with the handler using an Apache::Request my $r = Apache::Request->new( shift, POST

Re: bouncing a request back from a mod_perl script?

2004-01-26 Thread Stas Bekman
Paul Tomsic wrote: Is it possible to take a request object (from a posted html form) and bounce it to something else? For instance, we've got a form that submits to a perl script (running under mod_perl) We do something w/ the form data that's posted, but we then need access to that posted form co

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

Search Bot

2004-01-26 Thread Shawn
Title: Search Bot Hi, I have been trying to figure out a way to limit the massive amount of bandwidth that search bots (Googlebot/2.1) consume daily from my website. My problem is that I am running Apache::ASP and about 90% of the site is dynamic content, links such as product.htm?id=100. The

RE: Question about handlers

2004-01-26 Thread semuel
Hello There. Maybe playing with mod_perl handles is too much for your site's needs. Why won't you try one of the templating systems? For example, Mason will let you stay with your html files, and you can add header/footer for the pages, and won't bother you with restarts. Link: http://www.masonhq

Re: mod_perl and CGI.pm in chroot enviroment.

2004-01-26 Thread [EMAIL PROTECTED]
On Mon, Jan 26, 2004 at 04:39:28PM +, Fco. Valladolid wrote: helo, > I'am trying do a form hanlder with CGI.pm and Apache::Registry in chroot enviroment, > OpenBSD 3.4 > OS. Just to confirm in March last year I posted a diff which if you unravel explains modperl in a chroot.. http://www.mon

mod_perl and CGI.pm in chroot enviroment.

2004-01-26 Thread Fco. Valladolid
I'am trying do a form hanlder with CGI.pm and Apache::Registry in chroot enviroment, OpenBSD 3.4 OS. My question is: it is necessary put CGI.PM in ServerRoot for chroot enviroment. ? There are other way to do forms in mod_perl ?.. thanks for you advice. Francisco. -- Reporting bugs: http:/

Re: Question about handlers

2004-01-26 Thread Perrin Harkins
Hi Steve, On Mon, 2004-01-26 at 08:18, Hemond, Steve wrote: > I now know to create an handler to automatically add a > header and a footer to any .html called in a certain location. This > forces me to go back to httpd.conf and add the handler setup there, and > restart Apache so the changes will

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

Question about handlers

2004-01-26 Thread Hemond, Steve
Hi ppl, I have read the docs on perl.apache.org and I still don't understand certain points. mod_perl seem to encourage handlers for handling dynamic website content. I now know to create an handler to automatically add a header and a footer to any .html called in a certain location. This forces m

[ANNOUNCE] Apache::SessionManager 1.01

2004-01-26 Thread Enrico Sorcinelli
The uploaded file Apache-SessionManager-1.01.tar.gz has entered CPAN as file: $CPAN/authors/id/E/EN/ENRYS/Apache-SessionManager-1.01.tar.gz size: 28090 bytes md5: 6303d90afcef21ccf89fea06a09babdd Changes from previous version - ! Bug fix: changed MP2 c