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 whethe
> "Justin" == Justin <[EMAIL PROTECTED]> writes:
Justin> So I also simply outright ban these user agents:
Justin> (EmailSiphon)|(LinkWalker)|(WebCapture)|(w3mir)|
Justin> (WebZIP)|(Teleport Pro)|(PortalBSpider)|(Extractor)|
Justin> (Offline Explorer)|(WebCopier)|(NetAttache)|(iSiloWeb)|
Jus
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, 2
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 version
in 5.6 there is a weaken? pragma, this should do what you need.
marc
- Original Message -
From: Radovan Semancik <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, 20. December 2000 5:14
Subject: Freeing cyclic refferences
> Hello!
>
> I have perl objects with cyclic reffer
>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 `us
> 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 I file and similar loaded via C or
C are compiled only once. Because once the module is
compiled
Jeff,
The directory you want unprotected should be as follows:
PerlAuthHandler Apache::OK
PerlAuthzHandlerApache::OK
Regards,
Christian
> -Original Message-
> From: Jeff Sheffield [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 18, 2000 4:54 PM
> To: [EMAIL PROTECTED]
> S
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
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 seem
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 includ
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
> ---
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
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" -
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 20
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 y
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
co
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, j
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
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 study
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:
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() would
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 proble
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 ch
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
> -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
> "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 ev
> 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 Hac
I'll second Perrin's remarks on using apache for this -- we run a stripped
down apache to serve image files, and have been extremely happy with the
performance. I've casually investigated thttpd and a couple of others,
but ended up sticking with Apache mainly because it's well documented and
we
IronHand <[EMAIL PROTECTED]> wrote:
> 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
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 yo
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
Fo
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 (for
Has anyone found this module yet?
Kees
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?
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 inves
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
37 matches
Mail list logo