Re: VirtualHost + PerlSetVar

2003-12-21 Thread Boris Zentner
Hi, Am Samstag, 20. Dezember 2003 22:52 schrieb Paul G. Weiss: > Great suggestion. I'll certainly try that. > > As to why I expected PerlSetVar to be available during startup, it is > because that is how it was with mod_perl1, and I wasn't considering the > fact that configuration in mod_perl2 i

Re: [ANNOUNCE] Apache::Scoreboard 2:01

2003-12-22 Thread Boris Zentner
Hi, Am Montag, 22. Dezember 2003 22:15 schrieb Stas Bekman: > This is Apache::Scoreboard for httpd-2.0 (mod_perl 2.0). > > You will still need Apache-Scoreboard-0.10 for mod_perl 1.0 and its apps. > CPAN will now always try to install Apache-Scoreboard-2.xx, even when you > want it to install Apa

ANNOUNCE: Apache::PageKit 1.13

2004-03-15 Thread Boris Zentner
Hi, on the way to CPAN. 1.13 - Add scripts/pkit_rename_app.pl it helps to start new applications fast ( Boris Zentner ) - Add and tags. ( Boris Zentner ) - Fix filetest for upload_tmp_dir ( Boris Zentner ) - Fix locale support. One message was

ANNOUNCE: Apache::PageKit 1.14

2004-05-10 Thread Boris Zentner
-params again in the xsl files. This was broken in 1.13. ( Ben Ausden ) - Fix: add use Apache::PageKit::Model to eg/Model/MyPageKit/Common.pm since it is possible that the application class is loaded before Apache::PageKit ( Boris Zentner

Re: [mp2] migrating Apache::Cookie from mp1

2004-05-27 Thread Boris Zentner
Hi, Am Donnerstag 27 Mai 2004 11:39 schrieb Casey Songer: > I've been running site using mod_perl and HTML::Mason for 3-4 years with > few problems. I recently am being asked to move everything to a new box > that has Apache2 running on it (with mp2). I was able to install and > get everything

Re: CPU usage of mod_perl scripts

2004-06-02 Thread Boris Zentner
Hi, Am Mittwoch 02 Juni 2004 03:37 schrieb Batara Kesuma: > Hi, > I am using mod_perl 1.99_13 with httpd 2.0.48. I noticed an unusually > high CPU usage on my machine. I tried to figure out with top, and I > found out that httpd processes were using a lot of CPU. > How do I know which script is e

Re: Using DBI and Apache::DBI together

2004-07-28 Thread Boris Zentner
Am Mittwoch 28 Juli 2004 06:36 schrieb Chris Ochs: > We have our own application server built on mod perl and the template > toolkit. Most of the application specific sql queries all run as a single > user which is great for Apache::DBI. Every end user also has 3-4 tables > they can query (using

Re: Using DBI and Apache::DBI together

2004-07-28 Thread Boris Zentner
Hi, Am Mittwoch 28 Juli 2004 12:20 schrieb Tom Schindl: > Boris Zentner wrote: [...] > > # bypass Apache::DBI > > $dbh = DBI->connect($data_source, $username, $password, { > > dbi_connect_method => 'connect' }) || die; > > I knew there is such a param

mod_perl2, HEAD request and Content-Length

2004-07-30 Thread Boris Zentner
Hi, I have a handler, that serve dynamic pages or static ones. If the handler gets a HEAD request, it answers with ... $apr->headers_out->{'Content-Length'} = 12345; $apr->content_type($media_type) unless $apr->main; if ( $apr->header_only ) { return DONE; } ... This works, but

Re: mod_perl2, HEAD request and Content-Length

2004-08-01 Thread Boris Zentner
Hi, Am Samstag 31 Juli 2004 10:20 schrieb Stas Bekman: > Geoffrey Young wrote: > > Boris Zentner wrote: > >>Hi, > >> > >>I have a handler, that serve dynamic pages or static ones. If the handler > >> gets a HEAD request, it answers with > > [.

Re: mod_perl2, HEAD request and Content-Length

2004-08-01 Thread Boris Zentner
Hi, Am Sonntag 01 August 2004 18:13 schrieb Stas Bekman: > Does anybody have any statistics on the percentage of HEAD requests vs. > GET? The purpose of HEAD request is not to save your CPU cycles, but to > avoid data transfer which is precisely what Apache 2.0 does, without > making you do the e

Re: mod_perl2, HEAD request and Content-Length

2004-08-02 Thread Boris Zentner
Hi, Am Montag 02 August 2004 15:28 schrieb Geoffrey Young: > > But my point is, for a HEAD request, there is no data so apache should > > not touch my content-length header. I really dislike to generate the full > > data for the request and apache throws it away ( and even the I get no > > Conten

Re: Using DBI and Apache::DBI together

2004-08-03 Thread Boris Zentner
Am Dienstag 03 August 2004 16:16 schrieb Tom Schindl: > Ask has already stated that he's going to include it in his next > release, I have already filed a doc-patch at rt.cpan.org > Good to know, Unfortunely I have started it also, currently I have no internet at work ;-) diff -Nur a/DBI.pm b/D