Re: Loading modules in Parent??

2000-12-20 Thread Doug MacEachern
On Thu, 28 Sep 2000, Bill Moseley wrote: Hi, I'm seeing the opposite results from pre-loading modules in the parent process than I would expect. It looks like pre-loading modules ends up using more non-shared ("private") memory. ... Here's the pre-loaded module list. When running as

Re: cgi scripts

2000-12-20 Thread G.W. Haywood
Hi there, On Tue, 19 Dec 2000, Mike Egglestone wrote: ScriptAlias /cgi-bin/ /var/www/Scripts/ ...and later down the file AddHandler cgi-script .cgi Look for mention of the ScriptaAlias directive in http://perl/apache.org/guide Options ExecCGI FollowSymLinks You might want to

Re: Document contains no data

2000-12-20 Thread G.W. Haywood
Hi there, On Tue, 19 Dec 2000, Darren Duncan wrote: I have been having a problem with my scripts during the where I periodically get a Netscape 4 error saying "Document contains no data" when they run under mod_perl, but not with the same script under CGI. Is this only on Netscape 4?

Re: Apache::LogSTDERR

2000-12-20 Thread Kees Vonk 7249 24549
Has anyone found this module yet? Kees

mod_perl training

2000-12-20 Thread Gunther Birznieks
I got swamped with an unexpected project last Friday and coupled with XMas stuff, I am probably not going to be able to give any more input until after XMas (next week). Anyway, I know this topic has been very quiet since last week. But I just wanted to say that I don't want to let it die

POST with PERL

2000-12-20 Thread czwartag
Hi! I have a little problem. A wrote a perl-script to manage guestbook-like section of my page. Script is working, but from the shell. When I try to post a data through html form I get an error saying that post method is not suported by this document. It's in directory with options ExecCGI and

Re: [crit] (98)Address already in use: make_sock: could not bind to port 8529

2000-12-20 Thread G.W. Haywood
Hi there, On Wed, 20 Dec 2000 [EMAIL PROTECTED] wrote: I have the same problem, There are so many things to look at and so many things you haven't told me I hardly know where to start! What are you doing that gives this error? Starting 'make test'? Are you the superuser? What port are

Re: Apache::LogSTDERR

2000-12-20 Thread Stas Bekman
Has anyone found this module yet? Did you read my reply to your original question? with original post link from Doug? It doesn't exist in public domain yet. _ Stas Bekman JAm_pH -- Just Another mod_perl

Re: mod_perl training

2000-12-20 Thread Randal L. Schwartz
"Gunther" == Gunther Birznieks [EMAIL PROTECTED] writes: Gunther Anyway, I know this topic has been very quiet since last Gunther week. But I just wanted to say that I don't want to let it Gunther die (for those that expressed interest), and I am definitely Gunther still interested even if I am

RE: mod_perl training

2000-12-20 Thread Geoffrey Young
-Original Message- From: Gunther Birznieks [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 20, 2000 5:28 AM To: mod_perl list Subject: mod_perl training Anyway, I know this topic has been very quiet since last week. But I just wanted to say that I don't want to let it

Re: Apache::LogSTDERR

2000-12-20 Thread Kees Vonk 7249 24549
Stas, I am sorry I didn't see the 'it has not been released yet' bit of your message. I read Doug's note, which says: it's in our cvs tree here at CP, not on CPAN. it shouldn't be a problem to release this one to CPAN, I'll check. but I didn't realise that CP wasn't public domain, I just

Re: Apache::LogSTDERR

2000-12-20 Thread Stas Bekman
On Wed, 20 Dec 2000, Kees Vonk 7249 24549 wrote: Stas, I am sorry I didn't see the 'it has not been released yet' bit of your message. I read Doug's note, which says: it's in our cvs tree here at CP, not on CPAN. it shouldn't be a problem to release this one to CPAN, I'll check.

Re: Apache::LogSTDERR

2000-12-20 Thread brian moseley
no worries. i'll go put it on cpan. On Wed, 20 Dec 2000, Kees Vonk 7249 24549 wrote: Stas, I am sorry I didn't see the 'it has not been released yet' bit of your message. I read Doug's note, which says: it's in our cvs tree here at CP, not on CPAN. it shouldn't be a problem to

[OT]Problems with `use locale`

2000-12-20 Thread martin langhoff
hi, sorry for being so OT. The problem is showing up in a mod_perl app, but it's certainly not related at all. Dealing with Spanish as we are, we always have problems with regexp, uc() and lc(). I've found that on my dev box, just adding `use locale` at least uc() and lc()

sorting subroutine and global variables

2000-12-20 Thread Alexander Farber (EED)
Hi, http://perl.apache.org/guide/perl.html#my_Scoped_Variable_in_Nested_S advises not to use external "my $variables" from subroutines. I have the following subroutine in my CGI-script, which I would like to keep mod_perl-kosher, just in case:

Re: recommendation for image server with modperl

2000-12-20 Thread Justin
I did try thttpd. As I understood it, and I did send an email to acmesoftware to ask but got no reply, thttpd does not handle keep-alive, and indeed users complained that images "came in slowly". I also observed this. I'm happy to be corrected, maybe I picked up the wrong version or did not

RE: [OT]Problems with `use locale`

2000-12-20 Thread Khachaturov, Vassilii
Did you try perlfaq - it has a couple of questions on locales. To start off, make sure your Perl has locale support in it: open your perl's Config.pm (it's /usr/local/lib/perl5/5.6.0/sun4-solaris/Config.pm on my system, do 'locate Config.pm' to find one on yours). Lines with "locale" there should

Re: sorting subroutine and global variables

2000-12-20 Thread Stas Bekman
On Wed, 20 Dec 2000, Alexander Farber (EED) wrote: Hi, http://perl.apache.org/guide/perl.html#my_Scoped_Variable_in_Nested_S advises not to use external "my $variables" from subroutines. I have the following subroutine in my CGI-script, which I would like to keep mod_perl-kosher, just in

Freeing cyclic refferences

2000-12-20 Thread Radovan Semancik
Hello! I have perl objects with cyclic refferences to each othen in mod_perl environment. I know that these objects will never be freed unless I break the refference cycle. But, how to do it transparently for user of object? Is there a way in perl for making a refference to object that is not

RE: [crit] (98)Address already in use: make_sock: could not bind to port 8529

2000-12-20 Thread Phil_Stubbington
Hi Ged, I'm running "make test" for mod_perl, logged in as root. error_log reads:- "[crit] (98) Address already in use: make_sock: could not bind to port 8529" Port in httpd.conf is 8529 Haven't tried "apachectl configtest" - will when I get to the machine tonight. Apologies for contacting

slight mod_perl problem

2000-12-20 Thread Jamie Krasnoo
Ok, it seems that my startup.pl is being run twice on server start. Startup init running startup.pl - loading templates into memory --- Loaded template file user_reg.tmpl Startup init running startup.pl - loading templates into memory --- Loaded template file user_reg.tmpl [Wed Dec 20 15:18:21

RE: [crit] (98)Address already in use: make_sock: could not bind to port 8529

2000-12-20 Thread Stas Bekman
On Wed, 20 Dec 2000 [EMAIL PROTECTED] wrote: Hi Ged, I'm running "make test" for mod_perl, logged in as root. error_log reads:- "[crit] (98) Address already in use: make_sock: could not bind to port 8529" Port in httpd.conf is 8529 Haven't tried "apachectl configtest" - will when

Re: Freeing cyclic refferences

2000-12-20 Thread Darren Duncan
On Wed, 20 Dec 2000, Radovan Semancik wrote: I have perl objects with cyclic refferences to each othen in mod_perl environment. I know that these objects will never be freed unless I break the refference cycle. But, how to do it transparently for user of object? What you need to do is to

Re: slight mod_perl problem

2000-12-20 Thread Stas Bekman
On Wed, 20 Dec 2000, Jamie Krasnoo wrote: Ok, it seems that my startup.pl is being run twice on server start. Startup init running startup.pl - loading templates into memory --- Loaded template file user_reg.tmpl Startup init running startup.pl - loading templates into memory --- Loaded

Re: slight mod_perl problem

2000-12-20 Thread Darren Duncan
On Wed, 20 Dec 2000, Jamie Krasnoo wrote: Ok, it seems that my startup.pl is being run twice on server start. Since configuration scripts can include other scripts, you probably have more than one other script that includes startup.pl, or more than one script that includes something that

RE: slight mod_perl problem

2000-12-20 Thread Douglas Wilson
Would this be the reason? http://perl.apache.org/guide/config.html#Apache_Restarts_Twice_On_Start -Original Message- From: Jamie Krasnoo [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 20, 2000 3:21 PM To: [EMAIL PROTECTED] Subject: slight mod_perl problem Ok, it seems that

Re: slight mod_perl problem

2000-12-20 Thread Jamie Krasnoo
startup.pl does not get repeated on a restart. However it will when started with ./apachectl start. I have never encountered this with Apache 1.3.12 or 13. Jamie On Thu, 21 Dec 2000, Stas Bekman wrote: On Wed, 20 Dec 2000, Jamie Krasnoo wrote: Ok, it seems that my startup.pl is being run

Re: slight mod_perl problem

2000-12-20 Thread Stas Bekman
startup.pl does not get repeated on a restart. However it will when started with ./apachectl start. I have never encountered this with Apache 1.3.12 or 13. I've just tested it -- it's not. The Istartup.pl file and similar loaded via CPerlModule or CPerlRequire are compiled only once. Because

RE: [OT]Problems with `use locale`

2000-12-20 Thread Enrique I.Rodriguez
From: martin langhoff [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 20, 2000 12:39 PM To: [EMAIL PROTECTED] Subject: [OT]Problems with `use locale` Dealing with Spanish as we are, we always have problems with regexp, uc() and lc(). I've found that on my dev box, just adding `use

experience on modperl-killing vacuum bots

2000-12-20 Thread Justin
Hi again, Tracing down periods of unusual modperl overload I've found it is usually caused by someone using an agressive site mirror tool of some kind. The Stonehenge Throttle (a lifesaver) module was useful to catch the really evil ones that masquerade as a real browser .. although the

Fwd: [speedycgi] Speedycgi scales better than mod_perl with scripts that contain un-shared memory

2000-12-20 Thread Gunther Birznieks
FYI -- Sam just posted this to the speedycgi list just now. X-Authentication-Warning: www.newlug.org: majordom set sender to [EMAIL PROTECTED] using -f To: [EMAIL PROTECTED] Subject: [speedycgi] Speedycgi scales better than mod_perl with scripts that contain un-shared memory Date: Wed, 20 Dec

Re: Fwd: [speedycgi] Speedycgi scales better than mod_perl with scripts that contain un-shared memory

2000-12-20 Thread Ken Williams
Well then, why doesn't somebody just make an Apache directive to control how hits are divvied out to the children? Something like NextChild most-recent NextChild least-recent NextChild (blah...) but more well-considered in name. Not sure whether a config directive would do it, or