Re: Can't locate ModPerl/Registry.pm in @INC

2007-04-11 Thread Geoffrey Young
Perrin Harkins wrote: > On 4/11/07, michael watson (IAH-C) <[EMAIL PROTECTED]> wrote: > >> Well, when I used the "static install" instructions (on an identical >> server) ModPerl/Registry.pm was installed in a suitable place. >> When I followed the "Dynamic install" instriuctions, it got stuck >>

RE: Can't locate ModPerl/Registry.pm in @INC

2007-04-11 Thread michael watson \(IAH-C\)
There is a lib directory, created under /usr/local/apache2/, and ModPerl::Registry gets stuck in there under site_perl/perl5.8.0/linux_multi_threaded/etc (you get the idea). But that path isn't in my @INC. I also had to copy all the apr library files to /usr/lib. It works now, but it all se

Re: Can't locate ModPerl/Registry.pm in @INC

2007-04-11 Thread Perrin Harkins
On 4/11/07, michael watson (IAH-C) <[EMAIL PROTECTED]> wrote: Well, when I used the "static install" instructions (on an identical server) ModPerl/Registry.pm was installed in a suitable place. When I followed the "Dynamic install" instriuctions, it got stuck under /usr/local/apache2/. Wait,

Re: 200 vhosts, 5 sets of libs, 2GB RAM, 1 httpd (seeking advice)

2007-04-11 Thread Perrin Harkins
On 4/11/07, Jonathan Vanasco <[EMAIL PROTECTED]> wrote: Are you aware of the dangers in namespace collision this can cause? I'd guess that he is, and that's why uses PerlOptions +Parent. See http://perl.apache.org/docs/2.0/user/config/config.html#C_Parent_ The problem with that strategy is th

RE: Can't locate ModPerl/Registry.pm in @INC

2007-04-11 Thread michael watson \(IAH-C\)
Well, when I used the "static install" instructions (on an identical server) ModPerl/Registry.pm was installed in a suitable place. When I followed the "Dynamic install" instriuctions, it got stuck under /usr/local/apache2/. Odd. From: [EMAIL PROTECTED] on behal

Re: Can't locate ModPerl/Registry.pm in @INC

2007-04-11 Thread Perrin Harkins
On 4/11/07, michael watson (IAH-C) <[EMAIL PROTECTED]> wrote: When I installed the statically linked version, ModPerl/Registry.pm went into /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/, which is a good place for it because @INC already looks there. However, with my new install, ModPer

Re: Can't locate ModPerl/Registry.pm in @INC

2007-04-11 Thread Fred Moyer
On Wed, 11 Apr 2007, michael watson (IAH-C) wrote: However, with my new install, ModPerl/Registry.pm has gone into /usr/local/apache2/lib/site_perl/5.8.0/i386-linux-thread-multi/, which isn't in my @INC. Can someone tell me which options during the mod_perl install (or indeed the apache2 install

Can't locate ModPerl/Registry.pm in @INC

2007-04-11 Thread michael watson \(IAH-C\)
Hi I have followed the instructions to install dynamically linked mod_perl on http://perl.apache.org/docs/2.0/user/install/install.html#Installing_mod _perl, having previously installed a statically linked version on a different server. When I installed the statically linked version, ModPerl/Regi

Re: 200 vhosts, 5 sets of libs, 2GB RAM, 1 httpd (seeking advice)

2007-04-11 Thread Jonathan Vanasco
On Apr 11, 2007, at 11:23 AM, Chris Hagglund wrote: I'm having trouble figuring out the right mix of configuration settings to do what I want, which is to have 5 separate sets libraries (DEV, TEST, PROD, developer1_personal_dev, developer2_personal_dev) get shared by a large number of vhos

Re: Can't locate object method "is_threaded" via package "Apache2::MPM"

2007-04-11 Thread Geoffrey Young
michael watson (IAH-C) wrote: > I'm running Apache/2.2.4 (Unix) mod_perl/2.0.3 Perl/v5.8.0 configured. > > BEGIN in Apache2::SizeLimit has the code: > > die "Apache2::SizeLimit at the moment works only with non-threaded > MPMs" > if Apache2::MPM->is_threaded(); nothing wrong with tha

Re: 200 vhosts, 5 sets of libs, 2GB RAM, 1 httpd (seeking advice)

2007-04-11 Thread Robert Landrum
Chris Hagglund wrote: The trouble is, as each vhost loads this config file for its plain and SSL vhost directives, the amount of memory being used seems to be going up, and restarting apache is taking longer and longer. Intead of loading it over and over again (twice for vhosts with ssl!) I am

200 vhosts, 5 sets of libs, 2GB RAM, 1 httpd (seeking advice)

2007-04-11 Thread Chris Hagglund
Hi all, I'm having trouble figuring out the right mix of configuration settings to do what I want, which is to have 5 separate sets libraries (DEV, TEST, PROD, developer1_personal_dev, developer2_personal_dev) get shared by a large number of vhosts. The way I am doing it now is each vhost Inc

Re: Stonehenge::Throttle (or: using mod_perl to keep evil visitors away)

2007-04-11 Thread Perrin Harkins
On 4/11/07, Martijn <[EMAIL PROTECTED]> wrote: It sounds all nice and interesting, but the article is from 2000 and when I search for the module name, Google has hardly any other results. Which could mean that either it works so perfectly well that no one even bothered to write a documentation, o

Can't locate object method "is_threaded" via package "Apache2::MPM"

2007-04-11 Thread michael watson \(IAH-C\)
I'm running Apache/2.2.4 (Unix) mod_perl/2.0.3 Perl/v5.8.0 configured. BEGIN in Apache2::SizeLimit has the code: die "Apache2::SizeLimit at the moment works only with non-threaded MPMs" if Apache2::MPM->is_threaded(); Yet if I run: %> perl use Apache2::MPM; print Apache2::MPM->is_th

Re: Stonehenge::Throttle (or: using mod_perl to keep evil visitors away)

2007-04-11 Thread Randal L. Schwartz
> "Martijn" == Martijn <[EMAIL PROTECTED]> writes: Martijn> It sounds all nice and interesting, but the article is from 2000 and Martijn> when I search for the module name, Google has hardly any other Martijn> results. Which could mean that either it works so perfectly well that Martijn> no o

Re: Stonehenge::Throttle (or: using mod_perl to keep evil visitors away)

2007-04-11 Thread Jonathan Vanasco
mod_security http://www.modsecurity.org/ its not using mod_perl -- but there's no reason to On Apr 11, 2007, at 9:47 AM, Martijn wrote: Hello. Like everyone who runs a web sever, I find that occasionally -and more often than I'd like- the web server get a lot of requests (thousands) within

Stonehenge::Throttle (or: using mod_perl to keep evil visitors away)

2007-04-11 Thread Martijn
Hello. Like everyone who runs a web sever, I find that occasionally -and more often than I'd like- the web server get a lot of requests (thousands) within a short of period of time from the same IP address. I don't mind a sudden increase interest in the website, but this usually means someone is