required files not in a namespace?

2003-03-18 Thread Justin Luster
Are required files in a namespace under Apache::Registry in Mod_Perl? I have just done a simple test that seems to show that they are not in a namespace. In the documentation (http://perl.apache.org/docs/1.0/guide/intro.html#Apache__Registry) it says that the initial script is stored under

RE: do as temp solution for require problem ?

2003-01-28 Thread Justin Luster
When a Perl script runs under Mod_Perl the current working directory is no longer the location of the Perl script (I think it is where Apache.exe is). So when you require an additional file it does not look in the same directory as your original script for the file. One alternative that has been

Resetting cache Apache::Registry

2002-12-03 Thread Justin Luster
I know that when you require or use helper files in a Perl Script, and you are using Apache::Registry, when changes are made to the helper files they are not recognized until you restart Apache. In the documentation it says that you can change the Apache configuration file to do this for

RE: Resetting cache Apache::Registry

2002-12-03 Thread Justin Luster
Thank you. That is a good suggestion. -Original Message- From: Geoffrey Young [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 03, 2002 9:56 AM To: Justin Luster Cc: [EMAIL PROTECTED] Subject: Re: Resetting cache Apache::Registry The situation is that I?m using a shared server from

state of the art throttling?

2002-11-21 Thread Justin
the apache status tree to deny requests when more than N servers are already engaged in serving the same IP, would be ideal.. Since I offload image serving, I think this would not hurt any legit users. thanks! -Justin

Re: state of the art throttling?

2002-11-21 Thread Justin
Well for the purposes of documentation, I'll follow up to myself. I was pointed at a netfilter module (rule) available as a patch, called iplimit, which limits simultaneous open tcp connections to N from either a single IP or from a netblock.. this helps a lot.. -Justin On Thu, Nov 21, 2002 at 05

RE: Using Perl END{} with Apache::Registry

2002-11-13 Thread Justin Luster
- From: Jim Schueler [mailto:jschueler;tqis.com] Sent: Tuesday, November 12, 2002 9:02 PM To: Justin Luster Subject: RE: Using Perl END{} with Apache::Registry Pity that the module doesn't help. I spent many hours testing END {} block behavior in Apache::Registry and relied heavily on logged error

Using Perl END{} with Apache::Registry

2002-11-12 Thread Justin Luster
Hi, Im trying to use the END{ } block in my Perl Scripts to do some code clean up (making sure files are not locked) at the end of each request. It seems to be working fine. Im using Apache::Registry to run a regular Perl script. Im having a problem with error messages. I have an

RE: Using Perl END{} with Apache::Registry

2002-11-12 Thread Justin Luster
PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: Using Perl END{} with Apache::Registry Hello Justin. I've done a little work on a similar problem due to Apache::Registry's unusual treatment of END {} blocks. You may want to take a look at the module I recently submitted: http://www.cpan.org/authors/id

RE: Using Perl END{} with Apache::Registry

2002-11-12 Thread Justin Luster
, November 12, 2002 3:34 PM To: Justin Luster Cc: [EMAIL PROTECTED] Subject: Re: Using Perl END{} with Apache::Registry Justin Luster wrote: I have an included file that I'm requiring: require test.pl; Without the END { } block if the script cannot find test.pl I get a Server error 500

Graphics and mod_perl

2002-10-02 Thread Justin Luster
Im new to mod_perl and Im really enjoying it. It has really improved performance. Right now Im just using Modperl::Registry to speed up things. I have a question about showing graphics using a Perl Script and running it through mod_perl. Using Perl under regular CGI to create a

Filehandles

2002-08-29 Thread Justin Luster
I'm using mod_perl 2.0 and Apache::Registry on a Windows XP machine. I'm using a load tester to test my Perl CGI program. I'm reading and writing to files and I'm using flock to control collisions. I keep getting an error when the load tester is going (5 concurrent users). It seems that the

Re: Filehandles

2002-08-29 Thread Justin Luster
[EMAIL PROTECTED] To: Justin Luster [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, August 29, 2002 12:11 PM Subject: Re: Filehandles Justin Luster wrote: Does anyone know anything about flock and mod_perl? Yes. There is no problem with flock and mod_perl. However, if you were to open

Re: Filehandles

2002-08-29 Thread Justin Luster
mod_perl all heck breaks loose. - Original Message - From: Perrin Harkins [EMAIL PROTECTED] To: Justin Luster [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, August 29, 2002 1:44 PM Subject: Re: Filehandles Justin Luster wrote: The load tester that I'm using works fine with my

HTTP_HOST clarification

2001-09-09 Thread Justin Rains
I forgot to mention I am trying to access the http_host variable through an authentication script.. Thanks! Justin == Justin C. Rains, President WSI.com Consulting _ Get your own FREE branded portal! Visit www.wsicnslt.com

Getting to the $ENV{HTTP_HOST} variable

2001-09-08 Thread Justin Rains
. Is it possible to get to the HTTP_HOST value in mod_perl? If I need to send my complete code just e-mail me and let me know.. Thanks! Justin == Justin C. Rains, President WSI.com Consulting _ Get your own FREE branded portal! Visit

Errors when trying to use AuthAny.pm

2001-07-11 Thread Justin Rains
-142-76.fuse.net, reason: User not known to the underlying authentication module Am I missing something here? I am using the standard apache that came with the raq. Thanks for any help! Justin == Justin Rains WSI.com Consulting http://www.wsicnslt.com

Re: IP based instant throttle?

2001-06-08 Thread Justin
on their PCs and are on dhcp addresses and probably never return anyway IP bans after the event are never any good and may hit the next user who picks up the IP. -Justin On Thu, Jun 07, 2001 at 07:34:45PM -0700, Randal L. Schwartz wrote: Justin == Justin [EMAIL PROTECTED] writes: Justin Does

Re: IP based instant throttle?

2001-06-08 Thread Justin
monitoring script is even better. -Justin On Thu, Jun 07, 2001 at 08:37:04PM -0700, Jeremy Rusnak wrote: Hi all, Just thought I would add my two cents...I run an online gaming site and the end users often decide to mess with our systems. We service a pretty juvenile crowd in some regards

IP based instant throttle?

2001-06-07 Thread Justin
guy before we can conclude we're being flooded is not really great.. modperl driven forums (or PHP ones even) can be killed this way since there are so many links on one page, all active.. thanks for any thoughts on this. -Justin

success with Apache::Compress

2001-02-22 Thread Justin
pear twice as fast.. * my bandwidth bill drops by 2/3rd (would be much more but html was not 100% of bandwidth, plus I'm conservative about switching it on for more browsers).. AWESOME.. -Justin

Re: the edge of chaos (URL correction)

2001-01-05 Thread Justin
My bad. it is www.dslreports.com/front/example.gif Sorry for those curious enough to check the URL out. On Thu, Jan 04, 2001 at 06:10:09PM -0500, Rick Myers wrote: On Jan 04, 2001 at 17:55:54 -0500, Justin twiddled the keys to say: If you want to see what happens to actual output when

Re: the edge of chaos

2001-01-04 Thread Justin
to solve this issue.. but a lingerd setup is quite different from popular recommendations. -Justin On Thu, Jan 04, 2001 at 11:06:35AM -0500, Geoffrey Young wrote: -Original Message- From: G.W. Haywood [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 04, 2001 10:35 AM To:

Re: the edge of chaos

2001-01-04 Thread Justin
there are no nasty surprises out there.. ? regards -justin On Thu, Jan 04, 2001 at 11:10:25AM -0500, Vivek Khera wrote: "J" == Justin [EMAIL PROTECTED] writes: J When things get slow on the back end, the front end can fill with J 120 *requests* .. all queued for the 20 available modperl

the edge of chaos

2001-01-03 Thread Justin
thoughts on solving this? Am I wrong in wishing that STOP would function through all the layers? thanks -Justin

Re: the edge of chaos

2001-01-03 Thread Justin
even happen with one of the evil site hoovers hitting you) results in site death. So dropping maxclients on the front end means you get clogged up with slow readers instead, so that isnt an option.. -Justin On Wed, Jan 03, 2001 at 11:57:17PM -0600, Jeff Sheffield wrote: this is not the solution

Re: recommendation for image server with modperl

2000-12-20 Thread Justin
erest only.. -Justin On Tue, Dec 19, 2000 at 08:37:23PM -0800, Perrin Harkins wrote: On Tue, 19 Dec 2000, Justin wrote: I've been catching up on the modperl list archives, and would just like to recommend "mathopd" as an image web server. I think you'll find thttpd (http://www.acme

experience on modperl-killing vacuum bots

2000-12-20 Thread Justin
proxy does not seem to know this) and thus queue up another request via another front end, and pretty soon there is a 10 second page backlog for everyone and loads of useless requests to start to fill .. -Justin

recommendation for image server with modperl

2000-12-19 Thread Justin
nt end !! or I guess apache2 with mod_rewrite and mod_proxy would solve that, at the risk of thread related teething problems. Just a recommendation from left field. -Justin

Re: tracking down why a module was loaded?

2000-09-15 Thread Justin
of the (large) CGI.pm .. that wasnt mentioned in my Apache::Status manual :-( -Justin On Thu, Sep 14, 2000 at 10:46:39PM +0200, Stas Bekman wrote: On Thu, 14 Sep 2000, Justin wrote: Can anyone tell me the easiest slickest way of determining what was responsible for requesting a module, having

JOB - NYC - Looking for a Linux/Apache/mod_perl/mysql programmer

2000-09-15 Thread Justin
and without a lot of project management, then this position would be ideal for you.. Telecommuting is fine : unlimited DSL provided to your home. come to the office every second day if you prefer .. Please reply to me and not the list. thanks -Justin

tracking down why a module was loaded?;

2000-09-14 Thread Justin
go broke. modperl is the best kept secret on the net. Shame! - Justin Beech http://www.dslreports.com

Re: Installing mod_perl

2000-08-29 Thread Justin Wheeler
It appears your Apache wasn't compiled with support for loading modules. You either need to recompile apache with mod_perl statically linked in, or recompile apache with dso support. -- Regards, Justin Wheeler [EMAIL PROTECTED] On Tue, 29 Aug 2000, Marco Marchi wrote: Hi all, I'm

Another site running mod_perl

2000-08-14 Thread Justin Wheeler
the eBusiness backend. All pages are dynamically created by mod_perl as they're requested. -- Regards, Justin Wheeler [EMAIL PROTECTED]

Re: followup to MaxChildRequests question ;-(

2000-06-23 Thread Justin
On Fri, Jun 23, 2000 at 09:54:49AM -0400, Vivek Khera wrote: "J" == Justin [EMAIL PROTECTED] writes: J Its still worth stating for the purposes of getting into the J modperl archive at least, that MaxChildRequests is to be avoided J for modperl backend setups. I disagree.

MaxChildRequests and modperl - issue

2000-06-22 Thread Justin
? Perhaps having my own ChildRequest counter and dieing myself, but more randomly, is a better way? thanks -Justin dslreports.com

followup to MaxChildRequests question ;-(

2000-06-22 Thread Justin
setups. It would be nice to have Apache:RandomRequestLimit instead though.. -Justin