Re: Logging under CGI

2002-06-11 Thread Tom Brown
On Tue, 11 Jun 2002, Sam Tregar wrote: On Mon, 10 Jun 2002, Tom Brown wrote: ?? AFAIK, Files opened in append mode, and written to without buffering, should _not_ get corrupted in any manner that flock would prevent. (basically small writes should be atomic.) Right, and does Perl

Re: Sharing Variable Across Apache Children

2002-04-17 Thread Tom Brown
Is the webserver useful if you have an error that warrants sending a mail? If sending an email means the server is broken having a flood of mails may be a feature. It will be incentive to fix whatever is breaking your server/db. Also, I would strongly recommend keeping your warning system as

RE: loss of shared memory in parent httpd

2002-03-14 Thread Tom Brown
On Thu, 14 Mar 2002, Bill Marrs wrote: It's copy-on-write. The swap is a write-to-disk. There's no such thing as sharing memory between one process on disk(/swap) and another in memory. agreed. What's interesting is that if I turn swap off and back on again, what? doesn't seem to me

Re: loss of shared memory in parent httpd

2002-03-12 Thread Tom Brown
No, I can't explain the nitty gritty either. :-) Someone should write up a summary of this thread and ask in a technical linux place, or maybe ask Dean Gaudet. I believe this is a linux/perl issue... stand alone daemons exhibit the same behaviour... e.g. if you've got a parent PERL daemon

Re: Urgent: Can we get compiled codes(class files in java) in perl like in java

2002-03-07 Thread Tom Brown
By 'compiled code ... just like that in Java' do you mean byte code? You may want to look at http://perlmonks.org/index.pl?lastnode_id=864node_id=76685 which I found by searching for 'compiled' at perlmonks.org. Your client is making a strange request. Most people put a higher value on source

Re: Post processing Perl output through PHP

2001-07-15 Thread Tom Brown
better, someone has written a makerpm.pl script which will build a .spec file for an RPM, from which you can build .src.rpm or .i386.rpm files... there is a version out there that works with rpm4, I won't post the it here in the hopes that someone who is maintaining a version _will_ speak up...

Re: [OT] ApacheCon BOF

2001-03-19 Thread Tom Brown
"mod_perl: 20 billion hits served" And turn the "m" into a stylized arch. :) LOL!! Way to go, Randal! Or how about a play on the old Superman line? A graphic with O'Reilly's Eagle and a caption like "Look! Up on the net! It's a bird! It's a plane! No, it'swait, it *is* a

(changing userids/2.0/suexec) was: RE: security!

2001-03-01 Thread Tom Brown
This is a general Unix webserver issue and not specific to mod_perl, so I've marked your message [OT] for off-topic. Well, workarounds are available for specific webserver environments, so I don't believe it's an inappropriate question. With CGI, you use the suexec mechanism

Re: trouble with path_info

2001-02-13 Thread Tom Brown
On Tue, 13 Feb 2001, Pierre Phaneuf wrote: Pierre Phaneuf wrote: Does anyone has an idea about this? I think I have proper behavior from my perl handler by installing it at the root of the server, but this is no real solution! What I am doing wrong here??? I'm really stumped with

Re: [OT] Apache wedges when log filesystem is full

2001-01-17 Thread Tom Brown
On Wed, 17 Jan 2001, Andrew Ho wrote: Hello, The other day we had a system fail because the partition that holds the logs became full, and Apache stopped responding to requests. Deleting some old log files in that partition solved the problem. We pipe logs to cronolog

Re: fork inherits socket connection

2000-12-19 Thread Tom Brown
Yes, yes, yes it was a bad suggestion. Sorry about that. I still didn't complete this section, looking for a clean solution to find a way to close only the fd that keeps the socket busy. So far you can use the closing fds in loop -- at least it works. yuck... you'd either have to find some

Re: greetings and questions

2000-12-14 Thread Tom Brown
On Thu, 14 Dec 2000, Ajit Deshpande wrote: 2. The POD for Apache::Registry says that it doesn't like __END__ and __DATA__ tokens. So what affect do these actually have if left in? Does In scripts? it's a syntax error, but that's a completely separate issue from modules which get used "as

Re: greetings and questions

2000-12-14 Thread Tom Brown
On Thu, 14 Dec 2000, Tom Brown wrote: On Thu, 14 Dec 2000, Ajit Deshpande wrote: 2. The POD for Apache::Registry says that it doesn't like __END__ and __DATA__ tokens. So what affect do these actually have if left in? Does In scripts? it's a syntax error, but that's a completely

Re: Certification

2000-12-07 Thread Tom Brown
On Thu, 7 Dec 2000, Matt Sergeant wrote: On Thu, 7 Dec 2000, J. J. Horner wrote: If I'm way off base, please let me know. I'm spending considerable brain power on this idea and if I'm wasting it, I need to know. I don't have much spare brain power and I could use it to try to figure

Re: RFC: mod_perl advocacy project resurrection

2000-12-06 Thread Tom Brown
On Wed, 6 Dec 2000, Ben Thompson wrote: On Tue, Dec 05, 2000 at 09:32:41AM -0800, brian moseley wrote: if you really feel the need to compete with php in the lowest tier web app space, you need to make simplicity your #1 goal. php is awesome entry level technology, and i almost

Re: Apache::GzipChain

2000-10-28 Thread Tom Brown
On Sat, 28 Oct 2000, G.W. Haywood wrote: Hi there, On Sat, 28 Oct 2000, Jerrad Pierce wrote: Is anybody using GzipChain? IIRC, Josh said he was. He didn't complain about it. Raved, in fact. Is there some known means of verifying that it is in fact working properly? LWP?

Re: how to really bang on a script?

2000-10-28 Thread Tom Brown
On Sat, 28 Oct 2000, martin langhoff wrote: Chris, i'd bet my head a few months ago someone announced an apache::bench module, that would take a log and run it as a benchmarking secuence of HTTP requests. just get to the list archives and start searching with I wrote a simple perl

Re: Bug in mod_perl

2000-10-09 Thread Tom Brown
Interesting, the Mason bug report I just filed is obviously mis-filed. Apache::Registry scripts suffer the same behaviour. On Mon, 9 Oct 2000, Dave Rolsky wrote: Try the following handler: package Foo; use Apache::Request; sub handler { my $r = shift; my (@vars) = (

Re: suexec: disabled?

2000-09-01 Thread Tom Brown
On Thu, 31 Aug 2000, Bakki Kudva wrote: I recently upgraded to perl5.6 and added php4 to my apache server. I don't know what I did wrong but I am getting the following errors. If I do a httpd -l I get... suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec your copy of suexec is

Re: Proxy setup w/ SSL (fwd)

2000-08-08 Thread Tom Brown
Kilobytes transferred this connection ChildMegabytes transferred this child Slot Total megabytes transferred this slot Date: Tue, 8 Aug 2000 11:43:49 -0700 (PDT) From: Tom Brown [EMAIL PROTECTED] To: Stas Bekman [EMAIL PROTECTED] Subject: Re: Proxy setup w/ SSL initiating many c

Re: template kit.....

2000-07-29 Thread Tom Brown
On Fri, 28 Jul 2000, Paul J. Lucas wrote: On Fri, 28 Jul 2000, Denton River wrote: Its been a long time since i have done a jobb without using sessions. I would really like to have this feature included in the kit im using and i think alot of developers are with me on this one.

Re: Re: Re: redirecting a domain [OT]

2000-07-16 Thread Tom Brown
On Sun, 16 Jul 2000, Barry Hoggard wrote: Nothing is wrong with that solution if you only have a few domains. We own a lot of misspellings of our company name, so I don't want to add each of them individually to the conf file. double that count... since you also nicely solved the problem

Re: Perl Registry ... Memory consumption.

2000-07-03 Thread Tom Brown
first off, David Hodgkinson's comments are correct... Stas's guide is very thorough, and covers pretty much all of this. On Mon, 3 Jul 2000, Nigel Hamilton wrote: Hi, I've been trying to setup mod_perl in an Apache/Red Hat Linux/mySQL environment for the last couple of weeks.

Re: [RFC] Swapping Prevention

2000-06-20 Thread Tom Brown
On Tue, 20 Jun 2000, Joshua Chamas wrote: your machine. Therefore you should configure the server, so that the maximum number of possible processes will be small enough using the CMaxClients directive. This will ensure that at the peak hours the system won't swap. Remember that swap

Re: cgiwrap for Apache::ASP?

2000-04-16 Thread Tom Brown
Also, my system has cgiexec (does suid for CGI scripts) installed. The cgiexec documentation says that once cgiexec is installed, it is a security risk if people can execute code as "nobody" since that user has special access to the cgiexec code. Right now, anyone can execute code as nobody

Re: cgiwrap for Apache::ASP?

2000-04-16 Thread Tom Brown
On Mon, 17 Apr 2000, Ime Smits wrote: | Also, my system has cgiexec (does suid for CGI scripts) installed. The | cgiexec documentation says that once cgiexec is installed, it is a | security risk if people can execute code as "nobody" since that user has | special access to the cgiexec code.

Re: mod_perl virtual web hosting

2000-04-12 Thread Tom Brown
On Wed, 12 Apr 2000, Jesse Wolfe wrote: I am working with www.superb.net to get their mod_perl up and working again. They have great infrastrucure, lots of great tools, and an amazing price. They had apache/mod_perl for awhile, and upgrades broke it. I expect they will have it in a week or

Re: mod_perl virtual web hosting

2000-04-12 Thread Tom Brown
I'm reading between the lines here, but it sounds like you are trying to have _one_ parent apache daemon that services _everything_ on the machine (likely _more_ than one website), which would imply that you are going to have an _extremely_ low hit ratio on your mod_perl scripts. nahh,

Re: mod_ssl in fronend-backend Apache configuration

2000-01-31 Thread Tom Brown
On Mon, 31 Jan 2000, BeerBong wrote: Hello all! I need encrypted access to some directories on some virtual hosts. I have lightweight proxy apache server and backend mod_perl server. mod_ssl is not a light thing, and I need encrypt mod_perl'd script results only, therefore I think