Re: Big pages and gzip

2000-08-15 Thread Doug MacEachern
On Sat, 10 Jun 2000, Ken Williams wrote: Darn. Or perhaps: cool. Is it possible for me to usurp this module? The Apache::Gzip module I've been working on has the same goals and same purpose as the one in the eagle, but a bit of a different interface and a very different implementation

Re: Can anybody explain this?

2000-08-15 Thread Doug MacEachern
On Sat, 17 Jun 2000, Rob Tanner wrote: Here's the scenario: I have a modperl program I've been working on for a while (my first, so I'm a newbie). I was having problem getting php to run and discovered that if modperl was configured, it ran fine. But it wasn't my immediate priority,

Re: Segfault Apache1.3.12/mod_perl1.24/Solaris2.6

2000-08-15 Thread Doug MacEachern
On Mon, 19 Jun 2000, G.W. Haywood wrote: Hi Eric, [Fri Jun 16 17:20:21 2000] [notice] \ child pid 22310 exit signal Segmentation Fault (11) On Mon, 19 Jun 2000, Eric Cholet wrote: backtrace. (gdb) bt #0 0x2b444 in perl_handler_ismethod () #1 0x2c43c in perl_call_handler ()

Re: Pages stopping and not loading completely...

2000-08-15 Thread Doug MacEachern
On Mon, 19 Jun 2000, Matt Sergeant wrote: On Mon, 19 Jun 2000, Farley, Scott wrote: I'm running an application Apache + mod_perl that connects to an MySQL database and the pages every so often decide not fully load. You can even see the the HTML printed to the screen sometimes because

Re: Multiple module configuration directive problem

2000-08-15 Thread Doug MacEachern
On Wed, 21 Jun 2000, Rob Tanner wrote: Solved my own problem -- read other modules config with: Apache::ModuleConfig-get($r, 'Apache::other_module') Since that means each module has to figure out whether it's reading it's own directives or it's neighbors, this mechanism in this case

Re: Apache::Util problem

2000-08-15 Thread Doug MacEachern
On Wed, 21 Jun 2000, Joel Bremson wrote: All of a sudden I'm getting an error when I use Apache::Util. It was working fine, and then stopped. I've isolated the module from my code and still get the error. Apache is 1.3.6 and perl is 5.00503. what version of mod_perl? This is the

Re: Group authorization information in a downstream chained handler

2000-08-15 Thread Doug MacEachern
On Thu, 22 Jun 2000, Christian Gilmore wrote: I'm trying to create a cache for group authorization. I'm wondering if there's any way I can alter the requires information during the initial authorization so that the cache building code can just pick from that which group this person matches

Re: Segfault in perl_handler_ismethod

2000-08-15 Thread Doug MacEachern
On Mon, 26 Jun 2000, Rich Williams wrote: Hi, Linux 2.2.14, Apache 1.3.12, Perl 5.6.0, mod_perl 1.24. On the first request, I get a segfault after perl_handler_ismethod is called. #0 0x40280fdc in mod_perl_register_cleanup (r=0x92ba3fc, sv=0x1) at mod_perl.c:1242 #1 0x40280fb0 in

Re: -DDL_UNLOAD_ALL_AT_EXIT ?

2000-08-15 Thread Doug MacEachern
On Mon, 26 Jun 2000, Mikhail Zabaluev wrote: Hello, I'm interested to know, does the DL_UNLOAD_ALL_AT_EXIT compilation flag for Perl 5.6.0 affect mod_perl's behaviour in any way? 'man perldelta' says that it might. no, it was designed to, but mod_perl implements the feature in it's own

RE: set_handlers() bug?

2000-08-15 Thread Doug MacEachern
On Mon, 26 Jun 2000, Geoffrey Young wrote: IIRC, Doug agreed to take a look at get/set handlers issues 'soonish' :) i guess this is later than 'soonish', sorry ;-/

Re: recursion in Apache::Constants::AUTOLOAD?

2000-08-15 Thread Doug MacEachern
On Mon, 26 Jun 2000, Jim Winstead wrote: We were seeing some servers spin out of control (allocating memory slowly) in Apace::Constants::AUTOLOAD (which apparently has been reported in the mailing list before). The attached patch fixes the problems for us. Could someone who understands

Re: Apache::Config module

2000-08-15 Thread Doug MacEachern
On Tue, 27 Jun 2000, Nathan Wiger wrote: Hi all- I've written a module that can parse the Apache httpd.conf config file (and in fact any Apache-like config file). It will take a set of directive like: ServerName www.mydomain.com UseCanonicalName Off And parse it

Re: CHECK blocks under mod_perl?

2000-08-15 Thread Doug MacEachern
On Wed, 28 Jun 2000, Michael J Schout wrote: Hi. I would like to use a CHECK { } block under mod_perl, but have so far not had any luck. It seems like mod_perl does not know how to deal with CHECK { } blocks. Is this true? If so, can it be remedied? I cant use a BEGIN block for what

Re: does __END__ at the end save memory?

2000-08-15 Thread Doug MacEachern
On Thu, 29 Jun 2000, Vladislav Safronov wrote: Hi, Does __END__ directive at the end of every mod_perl script reduce memory used by httpd ? in a module, no. in an Apache::Registry script, __END__ blocks are not supported. if they were, __END__ would consume more memory to maintain the

Re: getting data posted to site

2000-08-15 Thread Doug MacEachern
On Thu, 29 Jun 2000, Scott Alexander wrote: I'm trying to get the data that is posted from the browser durring a request. if ($r-method ne 'GET') { $r-read($buffer,$r-header_in('Content-Length')); #proccess data... } The $r-read() hangs the request completely. I ran an

Re: SIGPIPE errors

2000-08-15 Thread Doug MacEachern
On Thu, 29 Jun 2000, Brent Meshier wrote: Occasionaly, during a GET/POST, the request will be dropped and netscape/IE returns "Document Contains No Data". The errors logs report: [modperl] caught SIGPIPE in process 18311 hint: may be a client (browser) hit STOP? [modperl] process 18311

Re: Cryptic Apache::Registry read() behavior

2000-08-15 Thread Doug MacEachern
On Fri, 30 Jun 2000, Cyrus Rahman wrote: Hmm, I was just adapting a large application I wrote some years ago to work with mod_perl. Much to my amazement, despite its complexity and the fact that it was largely written before mod_perl, it worked without modification! Well, almost. There is

Re: Cryptic Apache::Registry read() behavior

2000-08-15 Thread Doug MacEachern
if anybody wants to confirm that this won't break anything (e.g. CGI.pm), this patch will clear the buffer before appending to it. --- Apache/Apache.pm2000/08/15 04:35:13 1.52 +++ Apache/Apache.pm2000/08/16 04:36:30 @@ -65,7 +65,7 @@ my($nrd, $buf, $total); $nrd = $total =

Re: Apache 2 opportunity

2000-08-15 Thread Doug MacEachern
On Sun, 2 Jul 2000, Francesco Pasqualini wrote: I think in the current version of modperl there is an important feature missing. At this time is not possible to share resources between apache childs and so we can not use "really" persistent DBI coneection. What I intend is the possibility

Re: DIR_MERGE and .htaccess

2000-08-15 Thread Doug MacEachern
On Tue, 4 Jul 2000, Matt Sergeant wrote: Shouldn't DIR_MERGE be called when .htaccess files are found at different levels, e.g: /axkit/.htaccess and /axkit/test/.htaccess I ask for /axkit/test/test.xsp I would have expected it to ask for both .htaccess files and try and merge the

Re: mod per compilation problem

2000-08-15 Thread Doug MacEachern
On Wed, 5 Jul 2000, Kailashnath V Rampure wrote: This is with reference to ur mail on mod_perl APXS error w/ apache/raven to modperl mailing list. I have a problem same problem with mod_perl. I just removed the the -Wl, -E option from the flags of Make file for mod_perl but unable to compile

Re: crash in modperl-1.24

2000-08-15 Thread Doug MacEachern
On Mon, 10 Jul 2000, Mark D. Anderson wrote: environment: linux redhat 2.2.12-20, modperl 1.24, apache 1.3.12 i've tried it with both perl 5.6 and with 5.005-03. in both cases, i get a segv crash almost immediately the first time i issue a request for a url using a perl handler (static

Re: Why can't I use a package name under Apache::Registry

2000-08-15 Thread Doug MacEachern
On Tue, 11 Jul 2000, bill chmura wrote: Hello, I have a problem with using apache::Registry and have not been able find an answer in the eagle book or the mod_perl site, so i am missing something here. If I take the following script and run it under apache::registry it runs

Re: segmentation fault with CGI::Application

2000-08-15 Thread Doug MacEachern
On Wed, 19 Jul 2000, Michael J Schout wrote: I have been trying to get CGI::Application to work under mod_perl today. So far with no success. Finally I removed everything except CGI::Application from the config files, and the server dumps core on startup. I have a very stripped odwn

Re: Aborting Apache startup during PerlInitHandler

2000-08-15 Thread Doug MacEachern
On Sun, 23 Jul 2000, Thomas Klausner wrote: Hi! I have got a PerlInitHandler that does some config parsing etc. I would like Apache to stop starting up and to print out some error message ("Config Directive blabla missing" or something like that) if an error occures during config

Re: Unexpected pnotes() behavior

2000-08-15 Thread Doug MacEachern
pnotes() expects a reference, it probably should croak if it's passed something else. it just increments the reference count of the sv, it does not make a copy. if you don't want to use a reference, you can copy it yourself: $r-pnotes(key = "$string")

Re: User directive

2000-08-15 Thread Doug MacEachern
On Tue, 1 Aug 2000, Rob Giseburt wrote: I want to modify the User cofiguration directive in a perl handler ... for example in a PerlTransHandler. I'm trying to use mod_perl to implement Named Virtual Hosting, and I have everything I need done except User and Group mapping so that SuEXEC will

Re: RRDs::graph and mod_perl

2000-08-15 Thread Doug MacEachern
On Tue, 1 Aug 2000, Todd Caine wrote: I have Apache 1.3.12 installed on Solaris 2.7 running with mod_perl 1.24. I have a simple mod_perl script, it actually uses Apache::Registry, that uses a Perl module called RRDs that can generate images/graphs from a round robin database. If you pass

Re: (Fwd) Problem with Authen::Krb4 under mod_perl (fwd)

2000-08-15 Thread Doug MacEachern
On Wed, 2 Aug 2000, Jeff Horwitz wrote: [forwarded just in case anyone else is having similar problems] -- Forwarded message -- Date: Wed, 2 Aug 2000 10:45:35 -0400 (EDT) From: Jeff Horwitz [EMAIL PROTECTED] To: Dave Edsall - The Tauminator [EMAIL PROTECTED] Subject: Re:

Re: does anyone have a fix for this?

2000-08-15 Thread Doug MacEachern
On Wed, 2 Aug 2000, Jamie Krasnoo wrote: Hello all, I'm new to the list and I'm hoping that someone could help me and explain what I'm doing wrong or how to fix this I recently compiled mod_perl-1.24 and it can run modules that I program. However I get a segmentation fault (11) when I

RE: Apache children hanging

2000-08-15 Thread Doug MacEachern
On Tue, 13 Jun 2000, Paul G. Weiss wrote: Yes, that much I knew, however when you do that you can't use curinfo from .gdbinit, because the process is not running. % gdb httpd core that's worked with curinfo for me in the past.

Re: cvs commit: modperl/src/modules/perl Apache.xs

2000-08-15 Thread Doug MacEachern
On Mon, 14 Aug 2000, brian moseley wrote: On 15 Aug 2000 [EMAIL PROTECTED] wrote: Log: fix $r-args(undef) speaking of which... does $r-args handle multiple args with the same name correctly? the docs imply that it doesn't. i haven't tried it myself to see. what do you mean?

Re: cvs commit: modperl/src/modules/perl Apache.xs

2000-08-15 Thread Doug MacEachern
On Tue, 15 Aug 2000, brian moseley wrote: hm. what about %args = $r-args? won't that give me only the last arg value? i suppose i should just do @args = $r-args. thanks for the reminder. yeah.

Re: Patch not accepted?

2000-07-28 Thread Doug MacEachern
On Thu, 27 Jul 2000, Ken Williams wrote: Hi all, I sent a patch for Apache::test a week or so ago. I got no responses, so I'm here to advocate again for its incorporation. The original message is here: http://forum.swarthmore.edu/epigone/modperl/swonflefim Are any of the CVS

Re: Config directives question

2000-06-30 Thread Doug MacEachern
On Fri, 30 Jun 2000, Matt Sergeant wrote: Is there any way I can write RAW_ARGS config directives like: AxMedia screen ... /AxMedia And have the bit between the tags passed through to apache for processing? The eagle book only seems to detail processing all the directives between the

Re: problem with IO::Select under Apache::Registry (long)

2000-06-09 Thread Doug MacEachern
On Thu, 1 Jun 2000, tim fulcher wrote: 2000] Msg.pm: Can't call method "new" without a package or object reference at /usr/borg/lib/perl5/5.00503/Msg.pm line 11. ... mod_perl 1.21 try upgrading to 1.24. a fix related to the Perl stack pointer in 1.23 might be the cure for this.

Re: Apache children hanging (not exiting)

2000-06-09 Thread Doug MacEachern
On Thu, 1 Jun 2000, Jay Jacobs wrote: With that previous thread of Apache children hanging up the server it made me think of an issue I see quite frequently in development... When I stop the mod_perl server, it won't exit properly (or fast) : [warn] child process 8530 still did not exit,

Re: err_headers_out Q

2000-06-09 Thread Doug MacEachern
On Fri, 2 Jun 2000, Geoffrey Young wrote: hi all... this simple script: #!/usr/bin/perl my $r = shift; $r-err_headers_out-add('Set-Cookie' = "name=error"); warn "pre headers_out: " . $r-headers_out-get('Set-Cookie'); $r-send_http_header('text/plain'); warn "post headers_out: "

Re: use DBI () (and modules in same die) dies in startup.pl

2000-06-09 Thread Doug MacEachern
On Fri, 2 Jun 2000, Michael Todd Glazier wrote: Hey all! I'm having a really weird problem with mod_perl where is dies loading modules from a certain dir in startup.pl I'm running Red Hat Linux 6.2 with: Embedded Perl version 5.00503 for Apache/1.3.12 (Unix) (Red Hat/Linux) mod_perl/1.21

Re: Segment fault in Perl_pp_leavetry

2000-06-09 Thread Doug MacEachern
On Tue, 6 Jun 2000, Mike McLagan wrote: Hello, I am having the above segfault using mod_perl 1.23 and mod_perl 1.24 on a RedHat 6.2 system with Perl 5.00503. The Apache daemon was compiled with max DSO and included the mod_ssl patches, etc as shown below. mod_perl is compiled with

Re: $r-register_cleanup limits?

2000-06-09 Thread Doug MacEachern
On Tue, 6 Jun 2000, Jim Woodgate wrote: In a module I'm using register_cleanup so the client doesn't need to wait for me to do a bunch of work. It basically does this: foreach (@images) { unless (-f $thumb{$_}) { create_thumb($_); $r-register_cleanup(sub

Re: Apache hanging when it reaches limit of process limit

2000-06-09 Thread Doug MacEachern
On Tue, 6 Jun 2000, Tom Lancaster wrote: Hi, I've got this strange behavior in a production site that until a recent upgrade never showed this kind of thing: I've set maxclients to 50, maxrequestsperchild 1. What happens is that the server runs fine, is fast, etc, but the number of apache

Re: Apache hanging when it reaches limit of process limit

2000-06-09 Thread Doug MacEachern
On Tue, 6 Jun 2000, Tom Lancaster wrote: Here's the output of gdb: ( now what does this mean?) ... Breakpoint 1, 0x400ddd35 in exit () from /lib/libc.so.6 (gdb) bt #0 0x400ddd35 in exit () from /lib/libc.so.6 #1 0x80851e1 in ap_start_restart () #2 0x8085454 in ap_start_restart () #3

Re: Apache dumping core in mod_perl's 'make test'

2000-06-09 Thread Doug MacEachern
On Tue, 6 Jun 2000, Stas Bekman wrote: Please! Keep the questions on the list!!! thank you! Thought the aforementioned procedure might be useful explaining my current trouble. Perl 5.5.3, Apache 1.3.12, mod_perl 1.24 -- no other add-ons to Apache... OS is Linux (kernel 2.2.10).

Re: Strange Segfault with Apache::PerlRun

2000-06-09 Thread Doug MacEachern
On Tue, 6 Jun 2000, Damon Buckwalter wrote: When using Apache::PerlRun to try and run some CGI-ish scripts I noticed a strange phenomenon. If the shebang line in the script contains '-T', that Apache child will segfault on requests to the script. Combinations of '-w', nothing in the

Re: Segmentation Fault

2000-06-09 Thread Doug MacEachern
On Wed, 7 Jun 2000, Pierre Laplante wrote: I am using RH 6.2, mod-perl 1.24, apache 1.3.12 with the following program with Apache/registry: #!/usr/bin/perl -w use strict; my $p = new xyz; for(my $i=0; $i 10; ++$i) { for(my $j=1;$j100;++$j) { my $file = "../xml/$j.xml";

Re: [performance/benchmark] $|=1 doesn't matter ?!

2000-06-09 Thread Doug MacEachern
On Wed, 7 Jun 2000, Stas Bekman wrote: Ok, you'd get surprised on this one. I cannot make benchmark show me unbuffered output worse than buffered. Anyone can tell me why? there is ap_flash call after each print in the unbuffered case, how comes the results are the same? maybe because both

Re: Big pages and gzip

2000-06-09 Thread Doug MacEachern
On Wed, 7 Jun 2000, Ken Williams wrote: [EMAIL PROTECTED] (Stas Bekman) wrote: On Wed, 7 Jun 2000, Mark Hewis wrote: it would seem to be quite straight forward to implement a handler to gzip all output html files depending on the allowed mime-types and/or user_agent. This would

Re: Problems with installing mod_perl

2000-06-09 Thread Doug MacEachern
On Thu, 8 Jun 2000, Wrobel, Thomas wrote: Hi, I have some problems installing mod_perl. My system is a Mandrake 7.0 Kernel 2.2.14. I have compiled apache 1.3.12 mod_ssl 2.6.4/openssl 0.9.5a with DSO. Next, I compiled php4RC2 with apxs and apache runs correctly. But after installing

Re: [performance/benchmark] printing techniques

2000-06-09 Thread Doug MacEachern
On Thu, 8 Jun 2000, Stas Bekman wrote: Stephen Zander wrote: "Stas" == Stas Bekman [EMAIL PROTECTED] writes: Stas Ouch :( Someone to explain this phenomena? and it's just Stas fine under the handler puzzled, what can I say... Continuous array growth and copying? Is

Re: Can't create custom config directives (long)

2000-06-09 Thread Doug MacEachern
On Thu, 8 Jun 2000, Rob Tanner wrote: MirrorWiseKeyFile', perhaps mis-spelled or defined by a module not included in the server configuration ... PerlModule Apache::MirrorWise this is becoming a common problem, try this bandaid, instead of that PerlModule line: Perl delete

Re: stack dump

2000-06-09 Thread Doug MacEachern
On Thu, 8 Jun 2000, Blue wrote: Apache 1.3.12, mod_perl 1.24 (USE_EVERYTHING=1), perl 5.6, linux 2.2.12 assuming you built mod_perl as a dso (apxs?), Makefile.PL should have warned you to choose one of: Your Perl is uselargefiles enabled, but Apache is not, suggestions: *) Rebuild

Re: [OT] Re: [performance/benchmark] printing techniques

2000-06-09 Thread Doug MacEachern
It's not slower in 5.6. "$x and $y" in 5.6 gets turned into $x . ' and ' . $y (in perl bytecode terms). that's not new to 5.6.0, variable interpolation in ""'s has always turned into a concat tree, though 5.005_03 is the oldest version i have handy to check with. and, this "$feature" can be

Re: problem with apache-1.3.12, perl-5.6, and mod-perl-1.22 DSO

2000-06-09 Thread Doug MacEachern
On Fri, 9 Jun 2000, Jeff Garner wrote: hi folks, i'm having what i'm sure is a simple problem. when i build mod_perl for use with dso, apache will start and then end. a truss doesn't indicate any easily identified problems. try 1.24

Re: err_headers_out Q

2000-06-09 Thread Doug MacEachern
On Fri, 9 Jun 2000, Drew Taylor wrote: Doug MacEachern wrote: see http_protocol.c:send_http_header(): if (!ap_is_empty_table(r-err_headers_out)) r-headers_out = ap_overlay_tables(r-pool, r-err_headers_out, r-headers_out

Re: stack dump

2000-06-09 Thread Doug MacEachern
On Fri, 9 Jun 2000, Blue wrote: On Fri, 9 Jun 2000, Doug MacEachern wrote: On Thu, 8 Jun 2000, Blue wrote: Apache 1.3.12, mod_perl 1.24 (USE_EVERYTHING=1), perl 5.6, linux 2.2.12 assuming you built mod_perl as a dso (apxs?), Makefile.PL should have warned you to choose one

Re: Apache dumping core in mod_perl's 'make test'

2000-06-09 Thread Doug MacEachern
On Fri, 9 Jun 2000, Rob Fugina wrote: I'm not sure if it's more or less useful to find out that it's not 2, but 1... looks like something is trying to redirect stderr to stdout, strace might give some more clues.

Re: Problems with installing mod_perl

2000-06-09 Thread Doug MacEachern
On Fri, 9 Jun 2000, Steffers wrote: that shouldnt really matter, since its a signal 11 from a process, then its either : it does matter, there are several discussions you'll find in the archives on how Perl's largefile support triggers this problem.

Re: Strange Segfault with Apache::PerlRun

2000-06-09 Thread Doug MacEachern
On Fri, 9 Jun 2000, Damon Buckwalter wrote: I'm sorry, please excuse my previous laziness... Here's all the info I can gather: if you compile with PERL_DEGUG=1, the stacktrace will give more info. looks like the call to Apache::warn, the problem probably goes away with this bandaid. ---

Re: Bugs 5.6.0 modperl use?

2000-06-01 Thread Doug MacEachern
On Thu, 25 May 2000, Jeremy Howard wrote: CGI::Carp preloaded. DBI preloaded. [Wed May 24 19:58:28 2000] [error] PerlRun: `Bizarre copy of HASH in aassign at /usr5/perl/lib/5.6.0/Carp/Heavy.pm line 79. ... Anyone else seen these? Oh yes, I've been battling that tonight...

Re: GET html page - permission denied

2000-06-01 Thread Doug MacEachern
On Thu, 25 May 2000, Prasit P wrote: By the way, i can access "http://209.10.98.1/index.html" using internet browser, but not the perl socket. because the browser doesn't include http://x.x.x.x in the http request, unless you are configured to use an http proxy. print $remote "GET

Re: global variables and reparsing (short reproducible example)

2000-06-01 Thread Doug MacEachern
On Fri, 26 May 2000, Marc Lehmann wrote: On Thu, May 25, 2000 at 12:09:09PM -0700, Doug MacEachern [EMAIL PROTECTED] wrote: You can only configure Apache from Perl sections, but you can load all your modules, shared data, etc. from a file pulled in with PerlRequire. actually you can

Re: global variables and reparsing question (low priority ;)

2000-06-01 Thread Doug MacEachern
forget about mod_perl for a moment. yes, true, Perl's built-in require will not reload a module if it's already in %INC. but that's doesn't mean a Perl environment cannot un-cache that entry so it will be reloaded. consider the code below, pretend that loop is a long-lifetime server, Tk type

Re: does mod_perl with USE_DSO=1 require perl built with -Duseshrplib?

2000-06-01 Thread Doug MacEachern
On Fri, 26 May 2000, Benedict Lofstedt wrote: I have a number of apache servers on various hosts, not all of them are to be mod_perl enabled. So, I tried to build apache with mod_perl as a DSO in order to enable mod_perl via the httpd.conf file if needed. I tried building mod_perl-1.24 as

Re: mod_perl 1.24 testing keeps failing

2000-06-01 Thread Doug MacEachern
On Fri, 26 May 2000, Mark Murphy wrote: I have one more issue with the "make test" for mod_perl. The documentation indicates that SSL doesn't like /dev/null and that SSLDisable is set. Well, after changing /dev/null and making sure SSLDisable is set in the httpd.conf file, I was still

Re: global variables and reparsing question (low priority ;)

2000-06-01 Thread Doug MacEachern
On Fri, 26 May 2000, Marc Lehmann wrote: I know this and I have no problems with that (as I made very clear in my last mail). But when mod_perl requires special programming techniques this does not mean that code not using that techniques is "broken anyway", as dougm said, at least not in

Re: Problem compiling mod_perl 1.24 on Solaris 2.6

2000-06-01 Thread Doug MacEachern
On Fri, 26 May 2000, Fred Miller wrote: Thank you very much. Sorry for being such a newbie. no need to apologize, this sort of problem isn't normal, if anyone should say sorry, it's sun for their flawed compiler kit. I rebuilt Perl with gcc, and then was able to get a build of Apache with

RE: installation of GTop and Scoreboard

2000-06-01 Thread Doug MacEachern
On Tue, 30 May 2000, Alex Algard wrote: Thanks, but installing glibtop only solved the GTop.pm issue. We're still having the same problem with Scoreboard.pm. Below is the output from the Scoreboard.pm installation process. Error: 'Apache' not in typemap in DummyScoreboard.xs, line 122 you

Re: Perl 5.6+mod_perl bugs (was Re: Win32 mod_perl binary [update])

2000-06-01 Thread Doug MacEachern
On Tue, 30 May 2000, Jeremy Howard wrote: * Many problems appear running under Apache::DB. In particular, Apache::Util::escape_uri causes a segfault under Apache::DB in some circumstances, as does Apache::Request::register_cleanup (when called as a class rather than an object method) *

Re: CGI.pm's -compile/-autoload methods

2000-06-01 Thread Doug MacEachern
1. regarding -compile, if the tags are imported into the startup.pl's package or main:: they aren't inhereted by child processes and therefore not adding some memory size to the total child process size, am I right? (well it's shared anyway) doesn't matter if it's shared, it's shared

Re: Apache::Registry RFE

2000-06-01 Thread Doug MacEachern
On Tue, 30 May 2000, Michael Blakeley wrote: Of course there was an error... At 9:54 PM -0700 5/30/2000, Michael Blakeley wrote: $r-log_error($errsv) if $Apache::RegistryYA::AutoLog; s/RegistryYA/Registry I'm also having second thoughts about the binary nature of this

Re: Perl Section questions

2000-06-01 Thread Doug MacEachern
On Wed, 31 May 2000, Kees Vonk 7249 24549 wrote: I have two questions about perl sections: 1) Has setting an entry in the %ENV hash in a perl section the same effect as using a SetEnv (or PerlSetEnv) no, %ENV is cleared at startup, you need to use the *Env directives for any you want

RE: Wierd problem with redirect

2000-06-01 Thread Doug MacEachern
On Wed, 31 May 2000, Jeffrey W. Baker wrote: On Tue, 30 May 2000, Jerrad Pierce wrote: I'm running into an odd redirect ptoblem myself, I'm issuing: HTTP/1.1 302 Moved Temporarily\n\r Date: Tue 30 May 2000 18:18:07 GMT\n\r Server: Apache/1.311\n\r Set-Cookie:

RE: elusive, disappearing notes?

2000-06-01 Thread Doug MacEachern
On Wed, 31 May 2000, Geoffrey Young wrote: I've seen this before and always thought to attribute it to mod_dir creating a new request to properly map / to /index.html since any notes set are for the lifetime of the request only, the new request (representing /index.html) would/should have

Re: Apache::PerlVINC again

2000-06-01 Thread Doug MacEachern
May 2000 12:13:20 -0700 (PDT) From: Doug MacEachern [EMAIL PROTECTED] To: Roberto Bourgonjen [EMAIL PROTECTED] cc: [EMAIL PROTECTED] Subject: Re: httpd exits with apache-1.3.12 and mod_perl-1.21 on Redhat 6.2 On Wed, 24 May 2000, Roberto Bourgonjen wrote: Hi all, I am encountering strange

Re: Apache::Registry RFE

2000-06-01 Thread Doug MacEachern
Thanks - but RegistryNG causes problems elsewhere in my code. Apache::File::mtime() doesn't seem to work with RegistryNG. The code: whoops!! Apache::PerlRun/RegistryNG were written before apache introduced the ap_update_mtime api function. i've renamed Apache::PerlRun's version to

Re: custom_response/segfaults

2000-06-01 Thread Doug MacEachern
On Thu, 1 Jun 2000, Paul wrote: After code verifying that the user hasn't already been registered/approved, I changed the code below == if ($url !~ /NewReg[.]cgi$/o) { $r-custom_response(FORBIDDEN, "/public/NewReg.cgi"); return

Re: Apache children hanging

2000-06-01 Thread Doug MacEachern
On Thu, 1 Jun 2000, Gustavo Duarte wrote: there to see if it stops the problem (the code isn't too clean - lots of global variables, not written under strict, etc, but "it works"). looks like a global variable is exactly what your problem is. somebody is creating an Apache::SubRequest object

Re: Apache children hanging

2000-06-01 Thread Doug MacEachern
you can find out which line of Perl code is triggering a spin, by attaching to the process with gdb; % gdb httpd $pid_of_spinning_process % source modperl_x.xx/.gdbinit % curinfo should show you the filename:line_number where Perl is stuck.

Re: Apache children hanging

2000-06-01 Thread Doug MacEachern
% gdb httpd $pid_of_spinning_process % source modperl_x.xx/.gdbinit % curinfo oops, that should be: % gdb httpd $pid_of_spinning_process (gdb) source modperl_x.xx/.gdbinit (gdb) curinfo

Re: global variables and reparsing question (low priority ;)

2000-05-25 Thread Doug MacEachern
On Wed, 24 May 2000, Marc Lehmann wrote: You must be kidding here!!! Using lexicals on package level is broken??? If it is broken, then _why_ is it recommended programming practise in perl (see perltoot for example)? i'm not kidding. i don't understand whay you mean by 'using lexicals on

Re: Problem compiling mod_perl 1.24 on Solaris 2.6

2000-05-25 Thread Doug MacEachern
On Wed, 24 May 2000, Fred Miller wrote: Like I said, I'm a bit naive in these matters. I didn't specify using gcc or cc. I used the same path to compile Perl, Apache, and Mod_Perl. When I aaksed which gcc and which cc, my machine does report gcc appearing in my path ahead of cc. Could that

Re: CORE::exit and Apache:Registry

2000-05-25 Thread Doug MacEachern
On Wed, 24 May 2000, Mark Hewis wrote: As far as I have tested under Apache::Registry the following commands have the following effect 1) CORE::exit - restart all child processes for that server ( a little too drastic for me) that shouldn't happen. it should only kill the kid it was

Re: global variables and reparsing (short reproducible example)

2000-05-25 Thread Doug MacEachern
On Wed, 24 May 2000, Perrin Harkins wrote: On Wed, 24 May 2000, Marc Lehmann wrote: I was under the impression that you cannot configure Apache from a PerlRequire. If that is not the case (and somehow works) I'd really like to get away from perlsections. You can only configure Apache

Re: Apache::Registry script problem

2000-05-25 Thread Doug MacEachern
On Wed, 24 May 2000, Drew Taylor wrote: Hi all, I'm having a serious, but intermittent, problem with my Apache::Registry scripts. I have 2 (soon to be more!) site running on the same physical server. Each site is driven by a set of short perl-script scripts. The scripts execute code in OO

Re: difference between ...

2000-05-25 Thread Doug MacEachern
On Wed, 24 May 2000, David Hajoglou wrote: Would there ever be any difference between the output of the following: (looking on the mod_perl quick reference card) From Apache::URI $str = $uri-query() From Request object $str = $r-args(); As far as what they hold about

Re: httpd exits with apache-1.3.12 and mod_perl-1.21 on Redhat 6.2

2000-05-25 Thread Doug MacEachern
On Wed, 24 May 2000, Roberto Bourgonjen wrote: Hi all, I am encountering strange problems on redhat 6.2 installations with rpm's apache-1.3.12-2 and mod_perl-1.21-10 (the latest available versions from redhat. I _have_ to use rpm's). I've tried two machines. As soon as load certain

Re: Need help in compiling the mod-perl

2000-05-25 Thread Doug MacEachern
On Wed, 24 May 2000, Seshagiri Rao Maddirala wrote: Hi, I am tryong to compile modperl with gcc2.8.1 on solaris 7. Even before make finishes I get out with error: mod_perl.c at line 278 'aptestconfigonly' - Unresolved symbol. I picked it up today afternoon from ftp site of

Re: PerlTransHandler

2000-05-25 Thread Doug MacEachern
On Thu, 25 May 2000, Sergey Ivanyuk wrote: Hi All. I'm having problems with the PerlTransHandler handler. I would like to only translate some requests, but keep Aliases working. However, I just can't get that done. If I use a simple 'return DECLINED;', all my cgi scripts and aliases

Re: CGI.pm broken with Apache/mod_perl/warnings? (was Re: XHTML_DTDredefined?)

2000-05-25 Thread Doug MacEachern
On 25 May 2000, Randal L. Schwartz wrote: Yeah, it's CGI.pm alright. So do I complain to Lincoln to fix it, or is it just a synergy thing between mod_perl, Apache, and CGI.pm that I'll have to live with? are you re-loading CGI.pm? that's the only way this warning can be triggered, from

Re: GET html page - permission denied

2000-05-25 Thread Doug MacEachern
On Thu, 25 May 2000, Prasit P wrote: Hi guys, I've built Apache 1.3.12 with mod_perl 1.21. try upgrading mod_perl, 1.22 has this change: =item 1.22 - March 22, 2000 proxy support fixed wrt RFC2068, thanks to Benjamin Elijah Griffin for the spot

Re: Search for Apache::Safe

2000-05-25 Thread Doug MacEachern
On Thu, 25 May 2000, Alexander Lazic wrote: hi, i search for the Apache::Safe Module which isnĀ“t in mod_perl-1.24 included. it doesn't exist. i had written a version once, but wasn't happy with it. there is an experimental PerlOpmask directive that was added to mod_perl in 1.15_01 (see

Re: REPOST: Limiting Resources

2000-05-25 Thread Doug MacEachern
On Thu, 25 May 2000, Suresh wrote: I am trying to limit the execution of a mod_perl script by setting the limit of RLimitCPU. But this does not seem to work. I am using apache 1.3.12 , mod_perl. I tired using the module Apache::Resource but even that did not work. Does any body know

Re: REPOST: Limiting Resources

2000-05-25 Thread Doug MacEachern
On Thu, 25 May 2000, Vivek Khera wrote: limit of RLimitCPU. But No; you are wrong. wrt RLimitCPU and friends, he is right. the built-in apache RLimit directives only work for mod_cgi processes, which are set in ap_call_exec(). hmm, i bet the RLimit* directives could be moved to a

Re: mod_perl 1.24 testing keeps failing

2000-05-25 Thread Doug MacEachern
On Thu, 25 May 2000, Mark Murphy wrote: sh Configure -Dcc=gcc -Ubincompat5005 hmm, i've seen a similar report related to largefile support, try once more with: sh Configure -Dcc=gcc -Ubincompat5005 -Uuselargefiles

Re: Apache::Registry script problem

2000-05-25 Thread Doug MacEachern
On Thu, 25 May 2000, Drew Taylor wrote: I have tried many things to solve this problem. Many thanks go to Geoffrey Young who helped me privately (and clued me into a great solution to another future maintenance problem as well!). i glad your problem is solved, but can we keep all help on the

Re: PerlTransHandler

2000-05-25 Thread Doug MacEachern
On Thu, 25 May 2000, Sergey Ivanyuk wrote: package handler; use Apache; sub handler { return DECLINED; } where does DECLINED come from? watch what happens if you add 'print handler()' and run it from the command line, and watch what happens when you add 'use strict;'. adding 'use

Re: mod_perl 1.24 testing keeps failing

2000-05-25 Thread Doug MacEachern
On Thu, 25 May 2000, Mark Murphy wrote: -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' those are the flags added when largefile support is enabled. try with a fresh source tree and run: sh Configure -des -Dcc=gcc -Ubincompat5005 -Uuselargefiles -des will use all defaults except those you

Re: httpd exits with apache-1.3.12 and mod_perl-1.21 on Redhat 6.2

2000-05-25 Thread Doug MacEachern
On Thu, 25 May 2000, Roberto Bourgonjen wrote: rpm's apache-1.3.12-2 and mod_perl-1.21-10 (the latest available whoops, i missed your version. if you're trying to use mod_perl as a dso, upgrade to 1.24.

Re: GET html page - permission denied

2000-05-25 Thread Doug MacEachern
On Thu, 25 May 2000, Prasit P wrote: Thank guys for your answer. I've just tried using Apache 1.3.12, and mod_perl 1.24, all downloaded today, but it's the same problem. seems that only works when you use http://hostname, both mod_proxy and mod_perl use logic like so:

<    1   2   3   4   5   6   7   8   9   >