Windows98 : ApacheModulePerl

2000-04-11 Thread Light Software
Hi everybody, I want to be able to run perl scripts on the apache web server. Like printenv. Apache wont run with the ApacheModulePerl.dll on windows 98. Apache generates a error: Syntax error on line 181 of c:/win apache/apache/conf/httpd.conf: Cannot load c:/win

Can't locate object method BINMODE via package Apache

2000-04-11 Thread Roca, Ignasi
I'm using mod_perl-1.21 and testing GD-1.25. When calling any of the demos examples given by GD-1.25 I have the error "Can't locate object method BINMODE via package Apache". The perl scripts are as follows: #!/usr/local/bin/perl use GD; print "Content-type: image/png\n\n" $im = new

Re: Can't locate object method BINMODE via package Apache

2000-04-11 Thread Matt Sergeant
On Tue, 11 Apr 2000, Roca, Ignasi wrote: I'm using mod_perl-1.21 and testing GD-1.25. When calling any of the demos examples given by GD-1.25 I have the error "Can't locate object method BINMODE via package Apache". The perl scripts are as follows: #!/usr/local/bin/perl use GD;

Re: Apache::GzipChain

2000-04-11 Thread Rick Myers
On Apr 11, 2000 at 07:49:57 -0400, Paul G. Weiss twiddled the keys to say: I was playing around with this module and got strange results (both with MSIE 5.0 and Netscape 4.6). The output is being sent chunked and when I do "view source" it appears that the browsers have not received the

RE: Apache::GzipChain

2000-04-11 Thread Paul G. Weiss
I'm using Apache::RegistryNG to feed GzipChain. But doesn't the chunking occur *after* GzipChain? I've also tried Apache::Registry with the same results. -P -Original Message- From: Rick Myers [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 11, 2000 8:22 AM To: Paul G. Weiss

Apache::GzipChain

2000-04-11 Thread Paul G. Weiss
I was playing around with this module and got strange results (both with MSIE 5.0 and Netscape 4.6). The output is being sent chunked and when I do "view source" it appears that the browsers have not received the complete page. I suspect that they are only reading up to the first "chunk". When

Re: Windows98 : ApacheModulePerl

2000-04-11 Thread Robert
I replied to this via email but it doesn't seem to get throu. Your Perl is probably not working right - every time I had this problem it was because I forgot about dll/lib thing in the distro instalation or got PATH wrong. Try command line perl first to see if it works at all. - Robert Light

Re: Windows98 : ApacheModulePerl

2000-04-11 Thread Robert
Light Software wrote: Your Perl is probably not working right - every time I had this problem You are right ! thanks for this tip... i didn't know that perl has to work first... i mean i thought the dll was enough ? ... So my apache directory is totally nuked... but now i receive

Re: REDIRECT missing Cookie

2000-04-11 Thread Perrin Harkins
Jim Winstead wrote: On Apr 08, Zeqing Xia wrote: Hi, I'm having a problem with setting the cookie in a REDIRECT. Basically, I'm doing this in a handler: $r-headers_out-add('Set-Cookie' = $cookie); $r-headers_out-add('Location' = $location); return REDIRECT; The

Apache::ASP and @INC

2000-04-11 Thread Mark T. Dame
Hello all. According to the docs for Apache::ASP (http://www.nodeworks.com/asp/config.html#Global), the Global directory and the IncludesDir directory will be added to @INC so you can 'use' and 'require' perl modules in these directories. This doesn't seem to be working for me. I have a simple

Re: Apache::ASP and @INC

2000-04-11 Thread Mark T. Dame
"Mark T. Dame" wrote: Hello all. According to the docs for Apache::ASP (http://www.nodeworks.com/asp/config.html#Global), the Global directory and the IncludesDir directory will be added to @INC so you can 'use' and 'require' perl modules in these directories. This doesn't seem to be

Re: Apache::GzipChain

2000-04-11 Thread Rick Myers
On Apr 11, 2000 at 08:36:42 -0400, Paul G. Weiss twiddled the keys to say: I'm using Apache::RegistryNG to feed GzipChain. But doesn't the chunking occur *after* GzipChain? I've also tried Apache::Registry with the same results. From the Apache::GzipChain man page.. GzipChain

Re: Bug#61231: mod_perl segfaults child-processes in combination with XML::Parser::Expat

2000-04-11 Thread Ardo van Rangelrooij
Hi! Steve Dunham (thanks!!!)provided a patch which should take care of this problem. I've made a package available as http://master.debian.org/~ardo/libxml-parser-perl_2.27-3_i386.deb Please try it out and let me know what's up. If no problems occur I'll upload it to master officially.

Thanks !

2000-04-11 Thread Harald Houppermans
Thanks everybody for helping me install The Apache Webserver 1.3.9 with mod_Perl 1.21 CGI support for windows 98. The binary I used was downloaded from: ftp://theoryx5.uwinnipeg.ca/pub/other/ filename: perl-win32-bin-0.5.exe ( about 10 meg ) The problem was that the ApacheModulePerl.dll

Re: Can't locate object method BINMODE via package Apache

2000-04-11 Thread Ken Williams
[EMAIL PROTECTED] (Roca, Ignasi) wrote: I'm using mod_perl-1.21 and testing GD-1.25. When calling any of the demos examples given by GD-1.25 I have the error "Can't locate object method BINMODE via package Apache". The perl scripts are as follows: #!/usr/local/bin/perl use GD; print

Re: Apache::URI port() problem

2000-04-11 Thread Zeqing Xia
It works! Thanks so much! Fred Eric Cholet wrote: Hello, It seems the method unparse() of Apache::URI does not take the port value into the result string. For example, I have: my $uri = Apache::URI-parse($r, $r-uri); $uri-scheme('http'); $uri-hostname($r-get_server_name);

Re: Segfault on DBI-Connect

2000-04-11 Thread Doug MacEachern
this seems to becoming quite a common problem, i wonder if Jochen can shed some light? On Tue, 4 Apr 2000 [EMAIL PROTECTED] wrote: I've been seeing the same segfault-on-connect problem with Apache 1.2.12 + mod_perl 1.22 + DBI 1.13 + Msql-Mysql-modules 1.2211. The segfault is due to a null

Re: 1.22_01-dev: Modification of a read-only value ...

2000-04-11 Thread Doug MacEachern
On Wed, 5 Apr 2000, Oleg Bartunov wrote: Yes ! It works now after I add Apache::Table to my startup.pl excellent. Apache::Table is now loaded by default if it's enabled (footprint is small), problem solved.

Re: Turning off experimental threads in mod_perl

2000-04-11 Thread Doug MacEachern
On Tue, 4 Apr 2000, Chris Mason wrote: How do I keep mod_perl from trying to use the experimental thread feature in perl, even when I built perl with that option? Is this possible? See the build error that I get below. I'm using mod_perl 1.22, perl 5.005_63, and apache 1.3.12. try using

Re: IO::File, mod_perl, and RedHat Secureweb

2000-04-11 Thread Doug MacEachern
On Wed, 5 Apr 2000, Joe Bowman wrote: Has anyone encountered the following problem? I have a RedHat 6.0-based machine, using perl-5.00503, RedHat secureweb-3.1-2, and mod_perl 1.22. The problem I'm running into is that whenever I try to preload the IO::File module, secureweb segfaults. No

Re: which handler?!?

2000-04-11 Thread Doug MacEachern
On Wed, 5 Apr 2000, J. Horner wrote: I'm finally writing the web server intrusion system that I've planned for months. I have the skeleton for the URI comparing handler, but I'm a little unclear where it should really go. A handler is written to compare the URI against a source of known

Re: Quick question re: mod_perl

2000-04-11 Thread Doug MacEachern
On Wed, 5 Apr 2000, Charles Aulds wrote: Doug, Can you tell me with a simple response, are the modules shown on my status page http://192.168.1.1/perl-status?inc all loaded by mod_perl when it starts? I have no PerlModule or PerlRequire directives in effect. Apache.pm and

Re: Avoiding redefining constant subs

2000-04-11 Thread Doug MacEachern
On Thu, 6 Apr 2000, Jeremy Howard wrote: Hi there, I've been getting frustrated by the mandatory warning created by 'use constant' under mod_perl, caused by constant subroutines being redefined when imported. In particular, with Archive::Zip this was adding hundreds of lines to my log

Error compiling mod_perl

2000-04-11 Thread Sam Carleton
This is the error message I got when I compiled mod_perl: Perl lib version (5.00503) doesn't match executable version (5.006) at /usr/lib/perl5/5.00503/i586-linux/Config.pm line 7. Compilation failed in require at /usr/lib/perl5/5.00503/ExtUtils/MakeMaker.pm line 13. BEGIN failed--compilation

Re: missing modules/perl/libperl.a

2000-04-11 Thread Doug MacEachern
On Thu, 6 Apr 2000, Todd Finney wrote: I'm attempting to recompile Stronghold with mod_perl, and I've run into a problem that no set of instructions (that I've seen) seem to help with. Any assistance/advice/RTFMs would be appreciated. mod_perl 1.21 Stronghold 2.42 glibc2.1 build 2412

Re: confusion between scripts

2000-04-11 Thread Doug MacEachern
On Thu, 6 Apr 2000, Marshall Dudley wrote: We have had banners servers running on 2 different boxes for years under mod_perl without any problems. Recently we moved two banner servers onto the same box, each under a different virtual domain. Now I cannot get them to run reliably. It

Re: Apache::Registry error message?

2000-04-11 Thread Doug MacEachern
On Fri, 7 Apr 2000, Jason Terry wrote: Does anybody know how to track down what is causing this error. It seems that Apache::Registry is trying to undefine some handler, but I don't know what handler or where. Any ideas? [Thu Apr 6 11:06:26 2000] [error] Can't undef active subroutine

Re: Core dump on startup

2000-04-11 Thread Doug MacEachern
On Sun, 9 Apr 2000, Robert Jenks wrote: I'm having problems with httpd core dumping during startup and have been completely unable to track it down. Sometimes it will start up fine and other times it will core dump. Any ideas, hints, etc.. would be GREATLY appreciated. i see a mention of

Re: Apache::Cookie problems

2000-04-11 Thread Doug MacEachern
But while Recovering the Cookie I got some errors: $cookie_ref = Apache::Cookie-fetch; any difference if you change that to: my $r = Apache-request; my $cookies = Apache::Cookie-new($r)-parse; ?

Re: A better patch for Registry.pm

2000-04-11 Thread Doug MacEachern
On Mon, 10 Apr 2000, Tom Mornini wrote: I missed an opportunity to set $r-notes('error-notes') if there was an error at compile-time. This patch includes both run-time and compile-time patches. thanks tom. the patch below will set error-notes for all Perl*Handlers. $@ is also saved it $@{

Re: Segfaults with RH6.1, mod_perl, perl 5.6.0, and apache 1.3.12

2000-04-11 Thread Doug MacEachern
On Mon, 10 Apr 2000, Benjamin Reed wrote: I'm getting segfaults with a RedHat 6.1 system. I've tried mod_perl 1.22, as well as a CVS snapshot from today, and I pretty much get the same thing either way. I would appreciate it if anyone could help me out on this, it's driving me nuts. does

Re: Can't locate object method BINMODE via package Apache

2000-04-11 Thread Doug MacEachern
On Tue, 11 Apr 2000, Roca, Ignasi wrote: I'm using mod_perl-1.21 and testing GD-1.25. When calling any of the demos examples given by GD-1.25 I have the error "Can't locate object method BINMODE via package Apache". the mod_perl cvs snapshot defines a BINMODE stub (5.6.0 added this tied

Re: Can't locate object method BINMODE via package Apache

2000-04-11 Thread Doug MacEachern
On Tue, 11 Apr 2000, Ken Williams wrote: Change that to binmode(STDOUT) and it should work. Since STDOUT is tied, I think Perl is interpreting that as STDOUT-binmode. that's not the problem, see my reply to Roca.

Re: Apache::Request

2000-04-11 Thread Doug MacEachern
On Mon, 10 Apr 2000, John S. Evans wrote: I'm looking for some help/advice with Apache::Request. I'm currently using Apache::Request to parse the POST that is used to upload a bunch of files to our server. how many files? what os are you using? solaris has a 256 limit. The problem I'm

Re: memory leak during server graceful restarts

2000-04-11 Thread Doug MacEachern
On Fri, 7 Apr 2000, Nikki Chumakov wrote: mod_perl probaly have memory leakage during rereading configs (e.g. on the apachectl graceful) do you have PerlFreshRestart On? if so, try turning it off. i think dso leaks on restart too, try linking static if that's the problem. a static httpd

Re: Error compiling mod_perl

2000-04-11 Thread Doug MacEachern
On Tue, 11 Apr 2000, Sam Carleton wrote: This is the error message I got when I compiled mod_perl: Perl lib version (5.00503) doesn't match executable version (5.006) at /usr/lib/perl5/5.00503/i586-linux/Config.pm line 7. you either installed a new Perl after running mod_perl's Makefile.PL

RE: What phase am I in

2000-04-11 Thread Doug MacEachern
On Fri, 7 Apr 2000, Geoffrey Young wrote: of note, 1.21_01 introduced $r-notes('PERL_CUR_HOOK'), but why that was introduced when there is current_callback() I don't know (it's not in Changes as far as I can see) that's related to this Change: $r-current_callback now works properly when

Re: missing modules/perl/libperl.a

2000-04-11 Thread Todd Finney
At 11:49 PM 4/11/00 , Doug MacEachern wrote: On Thu, 6 Apr 2000, Todd Finney wrote: I'm attempting to recompile Stronghold with mod_perl, and I've run into a problem that no set of instructions (that I've seen) seem to help with. Any assistance/advice/RTFMs would be appreciated. mod_perl

Re: memory leak during server graceful restarts

2000-04-11 Thread Nikki Chumakov
Doug MacEachern wrote: On Fri, 7 Apr 2000, Nikki Chumakov wrote: mod_perl probaly have memory leakage during rereading configs (e.g. on the apachectl graceful) do you have PerlFreshRestart On? if so, try turning it off. i think dso leaks on restart too, try linking static if that's