Naming the mod_perl process $0

2000-12-10 Thread jdarrow
Hello, I have a question that may have a simple answer.   In order to satisfy some broader system dependencies I need to define my mod_perl process name.  By default $0 seems to get set to "/dev/null".  When I try to modify $0 in the Apache startup script or elsewhere apache dumps core.  I'm

File name conversion

2000-12-10 Thread Aaron Johnson
Is there a module that allows you to translate the file name into something else, but keeps the requested filename in an enviroment variable or other location? For instance, say I request http://www.mydomain.com/myfile.html That works fine and is a real file. Now I want to request: http://www.myd

RE: [certification]

2000-12-10 Thread Hill, David T - Belo Corporate
>-Original Message- >From: Gunther Birznieks [mailto:[EMAIL PROTECTED]] > >"Obviously they still have to be technically interviewed, but in lieu of >someone with or without certification, it's easier to short-list on the >basis of such certification (or some equivalent outstanding thing s

Re: Script Debugging Modules?

2000-12-10 Thread Bill Moseley
At 08:04 PM 12/10/00 +0100, Stas Bekman wrote: >use constant DEBUG => 0; >... >warn "bar" if DEBUG; >you can keep the debug statements in the code without having any overhead >of doing if DEBUG, since they are stripped at compile time. Just how smart is the compiler? Maybe all these debugging o

Re: mod_perl advocacy project resurrection

2000-12-10 Thread Jim Woodgate
[EMAIL PROTECTED] writes: > You can do the twostage server if you are short on memory, speed is > important and usage of active content is relatively low. Setup a mod_proxy > and stripped down apache for port 80 and mod_perl for port 8080 for > example. Proxy certain urls to the 8080 and you

Re: mod_perl in chroot environment

2000-12-10 Thread Stas Bekman
> The key to successful chroot'ing, I've found, is running strace or trace > (depending on your platform) and looking at what files your httpd is > looking for, importing them into the chroot environment and doing that > iteratively until you're httpd is running and answering requests fully w/o >

mod_perl segfault

2000-12-10 Thread Alex Vandiver
Heya -- Please 'scuse in advance the long post -- it had to be to fit in all of the information asked for (better too much than too little, I hope). Anyways, I've run into an intermittent segfault problem with mod_perl (Version 1.24). It causes the Apache (version 1.3.12) process to die: [Sun D

Re: mod_perl in chroot environment

2000-12-10 Thread Ian Kallen
Tomorrow, Gunther Birznieks <[EMAIL PROTECTED]> frothed and gesticulated...: > > > >http://www.securityfocus.com/focus/sun/articles/apache-inst.html Yup, that's good. > http://penguin.epfl.ch/chroot.html Yup, that's good too. The key to successful chroot'ing, I've found, is running strace or t

Re: mod_perl advocacy project resurrection

2000-12-10 Thread spam
On Sun, 10 Dec 2000, Gunther Birznieks wrote: > >I'm currently using the Tomcat at work, and I have to say that > >although I really love perl and mod_perl, there are real advantages to > >using java. Over the past couple of years that I've been mostly > >lurking on this list there have been a c

sharing tied dbm fd

2000-12-10 Thread Stas Bekman
Am I correct to say that it's wrong to tie the dbm file in startup.pl and than share it across the children? >From now on I'm talking about read-only accesses and no locking is used. (and even if it was used for shared locks, the behavior won't change) If you do this in the child use vars qw(

Re: mod_perl in a shared hosting environment

2000-12-10 Thread John K. Sterling
yes - check out http://perl.apache.org/~dougm/modperl_2.0.html sterling On 10 Dec 2000, David Hodgkinson wrote: > > Just a thought, but will mod_perl and Apache 2.0 be better for this? > Will we be able to isolate different hosts' perl more easily? > >

Re: Apache::ASP problem with post data

2000-12-10 Thread Luc Willems
I think this will be intresting in the future when HTTP servers will be used for other things than just web pages serving. First thing i can think of is XML-RPC and SOAP technologie . Maybe this is something for a future release of the ASP framework ? greetings, luc Joshua Chamas

Script Debugging Modules?

2000-12-10 Thread Michael A. Nachbaur
I'm starting a rather large project right now, and I want to make debugging as easy as possible for me. The only way I know of debugging under mod_perl is the typical 'print STDERR foo' technique. There must be a better way then that, whether automating the 'print STDERR', or giving me logs of w

Re: Script Debugging Modules?

2000-12-10 Thread Stas Bekman
On Sun, 10 Dec 2000, Michael A. Nachbaur wrote: > I'm starting a rather large project right now, and I want to make debugging > as easy as possible for me. The only way I know of debugging under mod_perl > is the typical 'print STDERR foo' technique. There must be a better way > then that, whet

Re: custom directives done using filters

2000-12-10 Thread Robin Berjon
At 18:27 10/12/2000 +0100, Stas Bekman wrote: >Check this out: >http://perl.apache.org/guide/config.html#Apache_Configuration_in_Perl >at the end of the section... Stas there's just way too much good information in the guide ;) mount -t html http://perl.apache.org/guide /brain/docs/guide would su

Re: custom directives done using filters

2000-12-10 Thread Stas Bekman
On Sun, 10 Dec 2000, Robin Berjon wrote: > At 23:28 08/12/2000 -0500, Jim Winstead wrote: > >On Dec 09, Robin Berjon wrote: > >> I feel bad insisting because I know most of you are probably at least as > >> busy as I am. I posted a message a few days ago > >> (http://www.geocrawler.com/lists/3/We

Re: perl's memory leak

2000-12-10 Thread Tim Bunce
The long time mythical use less qw(memory); pragma was always intended to address issues like that. It would be fairly straightforward to implement (set a flag like use strict and check it wherever memory could usefully be freed). Tim. On Sat, Dec 09, 2000 at 07:53:38PM +0300, Ivan E.

Re: Gunther

2000-12-10 Thread barries
On Sun, Dec 10, 2000 at 05:42:28PM +0100, Robin Berjon wrote: > > I find installing mod_perl trivial in that it doesn't > require anything that's actually hard to do. Just thinking is hard to do sometimes ;-). A config front end and a way of caching config settings would both be nice. I find m

Re: custom directives done using filters

2000-12-10 Thread Robin Berjon
At 23:28 08/12/2000 -0500, Jim Winstead wrote: >On Dec 09, Robin Berjon wrote: >> I feel bad insisting because I know most of you are probably at least as >> busy as I am. I posted a message a few days ago >> (http://www.geocrawler.com/lists/3/Web/182/200/4787953/) and didn't get a >> single answe

Re: custom directives done using filters

2000-12-10 Thread Robin Berjon
At 09:36 09/12/2000 +, Matt Sergeant wrote: >On Sat, 9 Dec 2000, Robin Berjon wrote: >> Basically, I'm trying to some up with a way to implement custom >> directives by applying Perl source filters in httpd.conf, but for some >> reason it isn't working. > >It slipped past me on a busy day, but

mod_perl in a shared hosting environment

2000-12-10 Thread David Hodgkinson
Just a thought, but will mod_perl and Apache 2.0 be better for this? Will we be able to isolate different hosts' perl more easily? -- Dave Hodgkinson, http://www.hodgkinson.org Editor-in-chief, The Highway Star http://www.deep-purple.com Apache, mod_p

Re: Gunther

2000-12-10 Thread Robin Berjon
At 09:58 10/12/2000 -0500, [EMAIL PROTECTED] wrote: >I don't think you have reconciled your assumptions. >If it is trivial, it is not very annoying. >If it very annoying for someone who has done it many >times before, then it is not trivial. A contradiction indeed, but I think I understand how on

Re: mod_perl in chroot environment

2000-12-10 Thread Gunther Birznieks
At 05:21 PM 12/10/00 +0100, Stas Bekman wrote: > > At 03:33 PM 12/10/00 +0100, Stas Bekman wrote: > > >Do you think I should include the scenario of making Apache run in chroot > > >enviroment in the guide? > > > > I think chroot Apache is important especially for dynamic services. > > > > >Check

Re: mod_perl in chroot environment

2000-12-10 Thread Stas Bekman
> At 03:33 PM 12/10/00 +0100, Stas Bekman wrote: > >Do you think I should include the scenario of making Apache run in chroot > >enviroment in the guide? > > I think chroot Apache is important especially for dynamic services. > > >Check out the last section of this article: > >Installing and Sec

Re: mod_perl in chroot environment

2000-12-10 Thread Gunther Birznieks
At 03:33 PM 12/10/00 +0100, Stas Bekman wrote: >Do you think I should include the scenario of making Apache run in chroot >enviroment in the guide? I think chroot Apache is important especially for dynamic services. >Check out the last section of this article: >Installing and Securing the Apache

Re: Gunther

2000-12-10 Thread Gunther Birznieks
OK, You caught me. :) Regardless, I personally would like example shell scripts in the distribution with most possible cmdline parameters commented out with some small snippet of doc saying what that option does. Which is what I think the point was. At 09:58 AM 12/10/00 -0500, [EMAIL PROTECTE

Gunther

2000-12-10 Thread JoshNarins
In one message I got today Gunther writes... > On Linux I think installing Apache with Mod_Perl is > almost TRIVIAL. [ed. emphasis addded ] What might be > needed is some shell scripts that automate the > process to accompany the readme's. In another message I got today Gunther writes... > I

A plea for editing

2000-12-10 Thread Nathan Torkington
Please trim your replies so that there aren't two pages of quoted material and then five lines of original response. Sometimes I feel like I need a map and compass to find the new message :-) Thanks, Nat - To unsubscribe, e-ma

mod_perl in chroot environment

2000-12-10 Thread Stas Bekman
Do you think I should include the scenario of making Apache run in chroot enviroment in the guide? Check out the last section of this article: Installing and Securing the Apache Webserver with SSL by Dale Coddington <[EMAIL PROTECTED]> http://www.securityfocus.com/focus/sun/articles/apache-inst.

Re: Smart installing (Re: mod_perl advocacy project resurrection)

2000-12-10 Thread Gunther Birznieks
At 02:01 PM 12/6/00 -0800, brian moseley wrote: >On Wed, 6 Dec 2000, Aaron E. Ross wrote: > > > while the install and auto configure part is not very glamorous, the > > possibility of being able to untar one package to get mod_perl w/ > persistent > > db connections, transaction management, da

RE: mod_perl advocacy project resurrection

2000-12-10 Thread Gunther Birznieks
At 01:05 PM 12/5/00 -0600, Jay Jacobs wrote: >On Tue, 5 Dec 2000, Stas Bekman wrote: > > > What we want is very simple. > > > > 1. We want many users, so they will thoroughly test the software and spot > > bugs asap, so we -- current users will get a better product. > > > > 2. We want more devel

Re: Smart installing (Re: mod_perl advocacy project resurrection)

2000-12-10 Thread Gunther Birznieks
I don't mean to naysay it, but this is going to start getting quite binary specific. I guess you could maintain an RPM for Linux, but beyond that it seems quite difficult. And even if you maintain it as an RPM for Linux, do you make your own Perl distro with it or use RedHat's crappy distro? O

Re: RFC: mod_perl advocacy project resurrection

2000-12-10 Thread Gunther Birznieks
At 09:13 PM 12/5/00 +0100, you wrote: >On Tue, 5 Dec 2000, Eric Strovink wrote: > > > A number of people have been beating around this bush, so why not just > > mow it down? > > > > A huge win for advocacy would be a small set of complete example > > applications targetted at, say, the last two Re

Re: RFC: mod_perl advocacy project resurrection

2000-12-10 Thread Gunther Birznieks
At 08:26 PM 12/5/00 +, Matt Sergeant wrote: >On Tue, 5 Dec 2000, Eric Strovink wrote: > > > A number of people have been beating around this bush, so why not just > > mow it down? > > > > A huge win for advocacy would be a small set of complete example > > applications targetted at, say, the l

Re: mod_perl advocacy project resurrection

2000-12-10 Thread Gunther Birznieks
At 12:06 AM 12/6/00 -0600, Jim Woodgate wrote: >Chris Winters writes: > > Along with the open-source Servlet/JSP/Web Engine servers (among > > others): > > > > Apache Tomcat: http://jakarta.apache.org/ > > Jetty: http://jetty.mortbay.com/ > > > >I'm currently using the Tomcat at work, and

RE: mod_perl advocacy project resurrection

2000-12-10 Thread Gunther Birznieks
At 09:27 AM 12/6/00 +, Matt Sergeant wrote: >On Tue, 5 Dec 2000, Jeffrey W. Baker wrote: > > > I haven't looked at AO or AxKit, but if I can untar either one of them and > > just get to work, that will rule. > >You can't, but thats because I believe in the CPAN model - use pre-written >compone

Re: mod_perl & IPC under Solaris 7

2000-12-10 Thread Greg Cope
Steven Cotton wrote: > > Hi, > > Anyone here any good with debugging IPC "No space left on device" errors? > I can't find anything on the web or in deja, and am basically at a > loss. Using Storable 0.703 and ShareLite 0.08 I'm getting a lot of the > above errors when I have around 40 httpd chil

Re: RFC: mod_perl advocacy project resurrection

2000-12-10 Thread David Hodgkinson
Gunther Birznieks <[EMAIL PROTECTED]> writes: > Interestingly, I recall sitting in on one of Bruce's courses at Web98 (We > were teaching CGI/Perl for a day and he was teaching Intensive Java the day > before)... Bruce said he has tried to learn Perl but just couldn't wrap his > head around it

Re: RFC: mod_perl advocacy project resurrection

2000-12-10 Thread Gunther Birznieks
At 10:51 AM 12/8/00 -0800, Paul wrote: >--- Nathan Torkington <[EMAIL PROTECTED]> wrote: >[snip] > > I'd rather see us find some way to churn out perl and mod_perl > > programmers. For instance, release a beginner class on Perl and > > mod_perl and have local Perlmongers lead classes. I have my

Re: mod_perl training (was Re: Certification)

2000-12-10 Thread Gunther Birznieks
At 10:45 AM 12/8/2000 -0500, Richard Dice wrote: >"Randal L. Schwartz" wrote: > > > > But here's the reality of trainings. You need to get 10 to 20 people > > in a room at the same time that are all starting roughly at the same > > skill level and also want to end up in the same place. And then