Verifying Which Handler

2002-08-08 Thread Jeff Crist
Title: Message Can someone send me an example of a test Perl script that will display which Perl handler Apache is using - Apache::Registry or PerlRun. We just migrated our website to a new server that was initially setup to run Appache::Registry but we don't have time to cleanup the code

Re: Getting ugly: mod_perl and traditional forms of writing CGI

2002-08-08 Thread Andrew Ho
Hello, SSThe below is a sample bit of code I am using for very simple forum SSsoftware. It acts erratically, sometimes seeing the contents of the form SSbeing POSTed to it and sometimes not. If a form POSTed is under 500 SSbytes in length it works fine. Anything higher is hit and miss. SS

Re: solaris 2.6, mod_perl 1.27, apache 1.3.26, resulting serverfails

2002-08-08 Thread John E. Mendenhall
Lupe, On Thu, 8 Aug 2002, Lupe Christoph wrote: On Thursday, 2002-08-08 at 10:16:44 -0700, John E. Mendenhall wrote: On Thu, 8 Aug 2002, Lupe Christoph wrote: Syntax error on line 1341 of /usr/local/apache/conf/httpd.conf: Can't locate loadable object for module Apache::Log in @INC

PerlChildInitHandler doesn't work inside VirtualHost?

2002-08-08 Thread Jason W May
Running mod_perl 1.26 on Apache 1.3.24. I've found that if I place my PerlChildInitHandler inside a VirtualHost block, it is never called. This works: ... PerlModule Foo PerlChildInitHandlerFoo::handler VirtualHost *:80 ... PerlHandler MyModule ...

How to detect data avaliability on ARP::Socket

2002-08-08 Thread Hideki Noma
I am currently developping a private module utilizing PerlProcessConnection handler and facing a bit of problem. (Apache::2.0.39 + mod_perl 1.99.04) This is the part of program: sub handler { my Apache::Connection $c = shift; my APR::Socket $socket = $c-client_socket; my($rlen,

Apache::DProf not working

2002-08-08 Thread Randy Harmon
I'm having trouble making Apache::DProf work. I've installed the module with CPAN, and I've added PerlModule Apache::DProf at the top of my httpd.conf. I've verified with 'httpd -l' that PerlChildInitHandler is OK - therefore, pushing a child-init handler should be OK, right? I've started the

RE: [Mason-devel] Re: ANNOUNCE: Mason 1.12

2002-08-08 Thread Ian Robertson
If you ax version numbers now, what happens if someone who already has a versioned copy of ApacheHandler installed asks CPAN to upgrade it? Will it conclude that it already has the most up to date version? For that matter, if another CPAN module simply lists H::M::AH as a dependency (as opposed

Can I change the browser's address/location?

2002-08-08 Thread Harry Zhu
Suppose I have a generic content handler to handle requst /step/1, /step/2, ..., /step/n Location /step SetHandler perl-script PerlHandler MyHandler /Location #MyHandler.pm package MyHandler; sub handler { my $r=shift; my $step = substr($r-path_info(),1); #do something

Re: Verifying Which Handler

2002-08-08 Thread Stas Bekman
Jeff Crist wrote: Can someone send me an example of a test Perl script that will display which Perl handler Apache is using - Apache::Registry or PerlRun. We just migrated our website to a new server that was initially setup to run Appache::Registry but we don't have time to cleanup the

Re: Apache::DProf not working

2002-08-08 Thread Stas Bekman
Randy Harmon wrote: I'm having trouble making Apache::DProf work. I've installed the module with CPAN, and I've added PerlModule Apache::DProf at the top of my httpd.conf. I've verified with 'httpd -l' that PerlChildInitHandler is OK - therefore, pushing a child-init handler should be OK,

Re: PerlChildInitHandler doesn't work inside VirtualHost?

2002-08-08 Thread Cees Hek
Quoting Jason W May [EMAIL PROTECTED]: Running mod_perl 1.26 on Apache 1.3.24. I've found that if I place my PerlChildInitHandler inside a VirtualHost block, it is never called. It doesn't really make sense to put a PerlChildInitHandler inside a VirtualHost directive. It is only called

Re: mod perl load average too high

2002-08-08 Thread Ed Grimm
That looks like there's something that occasionally goes off and starts spinning, given the low memory usage and the fact that some processes using little cpu are also not swapped out. I suspect that one of your pages has a potential infinite loop that's being triggered. Try and catch at what

Handler Concept / Question

2002-08-08 Thread David Cumming
The basic concept I want to accomplish isto allow for static and dynamic content to be accessed from any url and be transparent to the visitor. i.e publish a static page called /foo/bar.htm have a dynamic page called /foo/foobar.htm I imagine there are a couple of different ways to do