RE: Header Sending Bug?

2000-05-15 Thread Geoffrey Young
-Original Message- From: Jeff Beard [mailto:[EMAIL PROTECTED]] Sent: Sunday, May 14, 2000 11:42 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Header Sending Bug? I don't see a problem with this but maybe I'm missing your point. :) well, if his point was that

Re: mod_perl and ssi

2000-05-15 Thread Kenneth Lee
When I try the RegistryFilter+SSI approach, the headers generated by my scripts _occasionally_ show up in the output (but as I see in SSI.pm, there's really no header output when Filter is On). Provided that PerlSendHeader is On, if I set it to Off, the headers always show up in the output.

KHTTPD for static and Apache/mod_perl for dynamic??

2000-05-15 Thread raptor
hi, My question is instead of using two Apache servers OR Apache+proxy scenario (static vs dynamic pages) will it be possible to leave static pages to kHTTPD and run only one APACHE server. Did someone tried it... Thanx = iVAN [EMAIL PROTECTED] =

Re: Oops Re: ANNOUNCE: mod_perl guide version 1.23

2000-05-15 Thread w trillich
Stas Bekman wrote: On Sun, 14 May 2000, w trillich wrote: i noticed this in the html source of the new guide (this was on porting cgi to mod_perl): LINK REL=STYLESHEET TYPE="text/css" HREF="style.css" TITLE="refstyle" style type="text/css" !--

RE: CGI::Delete for Apache::Request

2000-05-15 Thread Geoffrey Young
-Original Message- From: Doug MacEachern [mailto:[EMAIL PROTECTED]] Sent: Friday, May 12, 2000 2:02 PM To: Michael Blakeley Cc: [EMAIL PROTECTED] Subject: Re: CGI::Delete for Apache::Request On Sat, 6 May 2000, Michael Blakeley wrote: I've been migrating some code off of

RE: newbie question - require

2000-05-15 Thread Graf, Chris
Check the mod_perl guide for the usage of require() and do(). You probably want to use do() instead of require(). Chris -Original Message- From: Brett Lee [mailto:[EMAIL PROTECTED]] Sent: Monday, May 15, 2000 7:56 AM To: [EMAIL PROTECTED] Subject: newbie question - require In moving

make test of Apache::SSI

2000-05-15 Thread Wang, Pin-Chieh
Hi, I am installing Apache::SSI under Mod_perl.. When I ran make test I have permission denied when it trying to start httpd , therefore the test failed. My httpd was running under (root, other) as the (user, group). At perl Makefile.PL I specified the user as root and group as other, but still

systems, examples, samples

2000-05-15 Thread .......mxx
Hello, please, I would like to know some systems/scripts using mod_perl+mysql. like news, forum, poll... I would like to test, and learn how people are using mod_perl. thanks marcus _ Quer linha desocupada nas Internets gratis?

Re: database efficiency

2000-05-15 Thread Jeffrey W. Baker
On Mon, 15 May 2000, Jay Jacobs wrote: I've been reading over the guide on "Efficient Work with Databases under mod_perl" and there's one thing I don't quite grok about it. Let's say I have a site that goes through select statements like water. If I were to cache the statement handler (as

Re: database efficiency

2000-05-15 Thread Autarch
On Mon, 15 May 2000, Jay Jacobs wrote: mod_perl" and there's one thing I don't quite grok about it. Let's say I have a site that goes through select statements like water. If I were to cache the statement handler (as described in the guide), how does the database (database dependant)

Re: database efficiency

2000-05-15 Thread Ken Y. Clark
On Mon, 15 May 2000, Jeffrey W. Baker wrote: On Mon, 15 May 2000, Jay Jacobs wrote: I've been reading over the guide on "Efficient Work with Databases under mod_perl" and there's one thing I don't quite grok about it. Let's say I have a site that goes through select statements like

Re: database efficiency

2000-05-15 Thread Jeffrey W. Baker
On Mon, 15 May 2000, Ken Y. Clark wrote: On Mon, 15 May 2000, Jeffrey W. Baker wrote: On Mon, 15 May 2000, Jay Jacobs wrote: I've been reading over the guide on "Efficient Work with Databases under mod_perl" and there's one thing I don't quite grok about it. Let's say I have a

Re: database efficiency

2000-05-15 Thread Jeffrey W. Baker
On Mon, 15 May 2000, Autarch wrote: On Mon, 15 May 2000, Jay Jacobs wrote: mod_perl" and there's one thing I don't quite grok about it. Let's say I have a site that goes through select statements like water. If I were to cache the statement handler (as described in the guide), how

Re: KHTTPD for static and Apache/mod_perl for dynamic??

2000-05-15 Thread shane
On Mon, May 15, 2000 at 09:48:07AM -0700, Jeffrey W. Baker wrote: On Mon, 15 May 2000 [EMAIL PROTECTED] wrote: On Mon, May 15, 2000 at 04:37:06PM -0400, raptor wrote: hi, My question is instead of using two Apache servers OR Apache+proxy scenario (static vs dynamic pages) will

Re: KHTTPD for static and Apache/mod_perl for dynamic??

2000-05-15 Thread shane
I noticed that all the phhttpd pages have disappeared. What's up? Hmm.., you are right. Well..., Zach doesn't work for redhat anymore. I don't have a copy of the latest source..., well, I do, but it's riddled with my own changes. I was wondering when they were going to take down his

Re: KHTTPD for static and Apache/mod_perl for dynamic??

2000-05-15 Thread Perrin Harkins
On Mon, 15 May 2000, raptor wrote: My question is instead of using two Apache servers OR Apache+proxy scenario (static vs dynamic pages) will it be possible to leave static pages to kHTTPD and run only one APACHE server. It will, but you're missing part of the benefit from the proxy

Re: make test of Apache::SSI

2000-05-15 Thread Perrin Harkins
On Mon, 15 May 2000, Wang, Pin-Chieh wrote: I am installing Apache::SSI under Mod_perl.. When I ran make test I have permission denied when it trying to start httpd , therefore the test failed. It doesn't work for me either. I think Ken was going to make this test optional. Anyway, if

Re: KHTTPD for static and Apache/mod_perl for dynamic??

2000-05-15 Thread shane
On Mon, May 15, 2000 at 12:20:19PM -0700, Perrin Harkins wrote: On Mon, 15 May 2000, raptor wrote: My question is instead of using two Apache servers OR Apache+proxy scenario (static vs dynamic pages) will it be possible to leave static pages to kHTTPD and run only one APACHE server.

Re: KHTTPD for static and Apache/mod_perl for dynamic??

2000-05-15 Thread Ask Bjoern Hansen
On Mon, 15 May 2000 [EMAIL PROTECTED] wrote: [...] These httpd static accelerators do 100 times better than apache does. I don't believe that's true. And it doesn't change Perrin's point (that apache is sufficient for most pipes anyway). - ask -- ask bjoern hansen -

Re: KHTTPD for static and Apache/mod_perl for dynamic??

2000-05-15 Thread shane
It was an overstatement in my Zeal :-). Clearly not. Up to maybe 10x. That's the best improvement I've ever seen. But..., realistically with a well tuned apache vs. a well tuned static accelerator, probably 4x is tops. (Sorry :-) Static accels handle the thundering herd problem better as

Re: newbie question - require

2000-05-15 Thread w trillich
Brett Lee wrote: but with mod_perl, the info in the hash tables seems to be found "every other refresh" (which has me stumped). Would anyone be able to suggest a solution or reading material on this? don't forget to check your stuff out with single-process mode, via 'apachectl stop; apache

Re: mod_perl-perl5.6.0

2000-05-15 Thread Asghar Nafarieh
I did it and still I get the same error. Thanks, -Asghar X-UIDL: 9e7ed088da7c074d11e1654b1ba4fb0c X-Authentication-Warning: mojo.covalent.net: dougm owned process doing -bs Date: Fri, 12 May 2000 18:00:31 -0700 (PDT) From: Doug MacEachern [EMAIL PROTECTED] To: Asghar Nafarieh [EMAIL

Access to userland objects in different phases

2000-05-15 Thread Ken Miller
In the content serving phase I have a Database services object which manages all access to/from the database. The DB::Services object is created the first time the handler is hit; the $dbs is made available by creating a symtab entry, so all my Mason components can get at the database easily. I

Re: Access to userland objects in different phases

2000-05-15 Thread Chris Winters
* Ken Miller ([EMAIL PROTECTED]) [000515 17:16]: In the content serving phase I have a Database services object which manages all access to/from the database. The DB::Services object is created the first time the handler is hit; the $dbs is made available by creating a symtab entry, so all

Re: make test of Apache::SSI

2000-05-15 Thread Perrin Harkins
On Mon, 15 May 2000, Ken Williams wrote: I'd prefer to figure out why the test is failing, because most of the real testing is done using that test. But it's difficult because I've never seen the test fail. Looks like the problem lies in this line in t/real.t: my $HTTPD =

Re: make test of Apache::SSI

2000-05-15 Thread Ken Williams
[EMAIL PROTECTED] (Perrin Harkins) wrote: On Mon, 15 May 2000, Ken Williams wrote: I'd prefer to figure out why the test is failing, because most of the real testing is done using that test. But it's difficult because I've never seen the test fail. Looks like the problem lies in this line

ANNOUNCE: Apache::SSI v2.12

2000-05-15 Thread Ken Williams
The URL http://mathforum.com/~ken/modules/archive/Apache-SSI-2.12.tar.gz has entered CPAN as file: $CPAN/authors/id/KWILLIAMS/Apache-SSI-2.12.tar.gz size: 16154 bytes md5: 9d999ef37a1815f1767918336c15df49 Changes since 2.11: 2.12 Mon May 15 18:50:37 EDT 2000 Don't force

Re: without Apache::Registry, redefined subs still?

2000-05-15 Thread Doug MacEachern
On Tue, 9 May 2000, w trillich wrote: redefined subs with perlrun? it's just a warning. but, that warning should go away if you use the cvs version of Apache::PerlRun

Re: Segmentation fault (11) with mod_perl 1.23...

2000-05-15 Thread Doug MacEachern
On Fri, 12 May 2000, Mark Haviland wrote: Hey all... I just upgraded my box to redhat 6.2.2 and compiled Apache 1.3.12 with mod_perl (1.23) as a DSO (outside the Apache tree using apxs). Now, modules that use to work are suddenly causing seg faults. The one in particular that doens't

Re: works on linux, doesn't work on sun.

2000-05-15 Thread Doug MacEachern
Location / SetHandler perl-script PerlSendHeader on PerlHandler Mf7 Options +ExecCGI strange that would fix things, unless your Mf7 module is testing for $r-allow_options OPT_EXECCGI mod_perl never checks that bit, it's up to

Re: Problem with @INC

2000-05-15 Thread Doug MacEachern
On Sat, 13 May 2000, Robert Nice wrote: use lib '../site_perl'; it's been explained, 'use lib' happens at compile time (once per-script) and @INC is reset to whatever it was startup time after each request. the simple solution for you, which i didn't see mentioned, is to modify @INC at

Re: Undefined DESTROY() in error_log

2000-05-15 Thread Doug MacEachern
On Sat, 13 May 2000, Kenneth Lee wrote: I see this error message in my error_log, [Sat May 13 13:06:38 2000] [error](in cleanup) Undefined method HTML::FastTemplate::DESTROY at /usr/lib/perl5/site_perl/5.6.0/i686-linux/Apache/Registry.pm line 144 Does it mean that I have to add a

Re: Virtual servers mixing up required scripts

2000-05-15 Thread Doug MacEachern
give me some insight into this problem: - Is this a known bug, or an unavoidable by-product of the way mod_perl works? - Is it related to the fact I'm using Apache::Registry? Would switching to the native Apache API fix it? - Is it related to the fact I'm using "require", with ".pl"

[ANNOUNCE] AxKit 0.62

2000-05-15 Thread Matt Sergeant
Just to keep things ticking over, I've released 0.62 hot on the heels of 0.61. This is a minor update with a fix for the external parsed entities cache invalidation code (which now works!) and the addition of support for !--#include...-- for XPathScript (which allowed me to modularise the docbook

Re: mod_perl and ssi

2000-05-15 Thread Ken Williams
Regarding the Filter approach, are you sending the headers yourself? You shouldn't. Filter will do that for you. Don't know much about the OutputChain approach. [EMAIL PROTECTED] (Kenneth Lee) wrote: When I try the RegistryFilter+SSI approach, the headers generated by my scripts

Re: mod_perl and ssi

2000-05-15 Thread Kenneth Lee
I'm sending them because some of my scripts have to do redirection. But why the problem only happens _occasionally_? Anyway, in the meantime I'm passing the outputs directly to Apache::SSI, Apache::SSI-new( $output, Apache-request)-output; Ridiculous enough, but it seems to work

Re: KHTTPD for static and Apache/mod_perl for dynamic??

2000-05-15 Thread Vivek Khera
"r" == raptor [EMAIL PROTECTED] writes: r My question is instead of using two Apache servers OR Apache+proxy r scenario (static vs dynamic pages) will it be possible to leave r static pages to kHTTPD and run only one APACHE server. Did r someone tried it... Even without knowing what

newbie question - require

2000-05-15 Thread Brett Lee
In moving from CGI.pm to mod_perl, I ran across the common error with functions that exist in scripts pulled in with 'require'. Mod_perl_traps.html had the solution. Similarly, am using ('require') another file which holds all the hash tables (countries, states, etc.) that my scripts need to

RE: make test of Apache::SSI

2000-05-15 Thread Wang, Pin-Chieh
The message is T/fake ..ok T/real ..Starting http server...cat: cannot open t/httpd.pid Sh: usage: kill [ [ -sig ] id...| -l ] I looked t/real.t file where user, group are pwang,user respectively, port is 80. Thanks, PC Wang -Original Message-