Re: Advanced daemon allocation

2001-06-18 Thread Trevor Phillips
Gunther Birznieks wrote: Yeah, just use the mod_proxy model and then proxy to different mod_perl backend servers based on the URL itself. Isn't this pretty much what I said is *a* solution? I suppose I could do this now by having a front-end proxy, and mini-Apache configs for each group I

Re: Advanced daemon allocation

2001-06-18 Thread Gunther Birznieks
At 02:29 PM 6/18/2001 +0800, Trevor Phillips wrote: Gunther Birznieks wrote: I suppose I could do this now by having a front-end proxy, and mini-Apache configs for each group I want, but that seems to be going too far (at this stage), especially if the functionality already exists to do

Install mod_perl on Solaris 2.7

2001-06-18 Thread Joseph Francois
Hello, I've been trying to install Mod_perl as APACI on solaris 2.7. but after the build i get " httpd: Cannot find ELF". I make mod_perl install apache for me. when I install apache without mod_perl, apache works fine. Please help thank you

Re: Install mod_perl on Solaris 2.7

2001-06-18 Thread Paul Reynolds
What versoin of mod_perl are you using? I tend to stay away from 1.25. Try installing a version between 1.17 and 1.25, excluding 1.25. - Original Message - From: Joseph Francois To: [EMAIL PROTECTED] Sent: Monday, June 18, 2001 10:09 AM Subject: Install mod_perl on Solaris 2.7 Hello,

[ANNOUNCE] HTML::StickyForms 0.05

2001-06-18 Thread Peter Haworth
From the README: This a lightweight form generation module, which can be used with either CGI.pm (version 2 or 3), or (inside mod_perl) Apache::Request. The module provides similar facilities to CGI.pm's HTML tag generation routines, but is restricted to form field generation tags, with sticky

single process

2001-06-18 Thread Purcell, Scott
Hello, In the CGi to mod_perl porting coding guidelines, under the headline sometimes it works, Sometimes it doesn't It says to run the server (during testing) in a single process mode (httpd -X) I tried putting httpd 1 into the conf file, and it got mad at me. How does one set the process

Re: single process

2001-06-18 Thread Christoph Wernli
Purcell, Scott wrote: It says to run the server (during testing) in a single process mode (httpd -X) I tried putting httpd 1 into the conf file, and it got mad at me. How does one set the process (spawning of children) to 1 You have to add the X-option to the commandline, eg:

Re: single process

2001-06-18 Thread Nick Tonkin
The -X flag is a command-line option, not a conf file param. All your other conf params stay the same (inside httpd.conf) and you just start your server with /usr/local/apache/bin/httpd -X or whatever is appropriate for your system. This is not a mod_perl issue though; you may want to review

[JOB] mod_perl programmer looking for development project

2001-06-18 Thread Dzuy Nguyen
Hi, I am a seasoned web programmer (mod_perl, Perl, PHP) seeking for web development in similar environment. I also manage, amdin systems, web sites, basically an all in one, jack of all trade kind of guy. If interested, please email me for resume. I prefer telecomuting unless you're in

Re: Advanced daemon allocation

2001-06-18 Thread Matthew Byng-Maddick
On Mon, Jun 18, 2001 at 02:29:18PM +0800, Trevor Phillips wrote: Gunther Birznieks wrote: [Trevor wrote:] Yeah, just use the mod_proxy model and then proxy to different mod_perl backend servers based on the URL itself. Isn't this pretty much what I said is *a* solution? Yes, and the only one. I

Forking Child 2

2001-06-18 Thread Purcell, Scott
Hello, I wrote a little bit ago about trying to not fork my Apache server. I want to run only a single child. Anyway, I got three terrific responses, but have no clue what they mean. I am on Apache NT4.0 and am learning. Anyway, some of the responses I got for setting a single process were:

Re: [Patch] Apache-dso_module()

2001-06-18 Thread Philippe M . Chiasson
On Wed, Jun 13, 2001 at 09:52:39PM -0700, Doug MacEachern wrote: On Fri, 25 May 2001, Philippe M . Chiasson wrote: I know I posted this patch a while ago, but I am looking thru a few patches I have and I thought I might re-post this one along with the rest This module allows one to do

Re: Forking Child 2

2001-06-18 Thread Gunther Birznieks
heh...I see your confusion (and everyone else's) There's no such thing as httpd -X on Windows. It's one server that's multi-threaded. A completely differnet model to UNIX. You don't have to do httpd -X because mod_perl on Windows Apache is kind of crippled anyway. It will ONLY run with one

Re: Advanced daemon allocation

2001-06-18 Thread Keith G. Murphy
Trevor Phillips wrote: Is there any way to control which daemon handles a certain request with apache 1.x? eg; Out of a pool of 50 daemons, restricting accesses to a certain mod_perl application to 10 specific daemons would improve the efficiency of data cached in those processes.

Re: Forking Child 2

2001-06-18 Thread William A. Rowe, Jr.
From: Purcell, Scott [EMAIL PROTECTED] Sent: Monday, June 18, 2001 9:45 AM Hello, I wrote a little bit ago about trying to not fork my Apache server. I want to run only a single child. Anyway, I got three terrific responses, but have no clue what they mean. I am on Apache NT4.0 and am

Re: Advanced daemon allocation

2001-06-18 Thread Stas Bekman
On Mon, 18 Jun 2001, Keith G. Murphy wrote: Trevor Phillips wrote: Is there any way to control which daemon handles a certain request with apache 1.x? eg; Out of a pool of 50 daemons, restricting accesses to a certain mod_perl application to 10 specific daemons would improve the

Re: Advanced daemon allocation

2001-06-18 Thread Matthew Byng-Maddick
On Mon, Jun 18, 2001 at 10:41:50AM -0500, Keith G. Murphy wrote: Trevor Phillips wrote: Is there any way to control which daemon handles a certain request with apache 1.x? eg; Out of a pool of 50 daemons, restricting accesses to a certain mod_perl application to 10 specific daemons would

Re: Advanced daemon allocation

2001-06-18 Thread Stas Bekman
Although: Stas: Since keepalive connections will not incur the additional three-way TCP handshake, turning it off will be kinder to the network. erm Surely if you turn it *on* you'll be kinder to the network, because you're not reinitiating the handshake? [it] refers to

Re: Install mod_perl on Solaris 2.7

2001-06-18 Thread Paul Lindner
On Mon, Jun 18, 2001 at 11:03:10AM +0100, Paul Reynolds wrote: What versoin of mod_perl are you using? I tend to stay away from 1.25. Try installing a version between 1.17 and 1.25, excluding 1.25. The attached script works for our project. Just replace the @x@ values with stuff that you

Re: CGI::Cookie vs Apache::Cookie -- help?

2001-06-18 Thread will trillich
On Mon, Jun 18, 2001 at 07:18:56AM +0200, Per Einar wrote: - Original Message - From: will trillich [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 18, 2001 7:09 AM Subject: Re: CGI::Cookie vs Apache::Cookie -- help? what does $cookie-bake do (add set-cookie header)

Multiple AddHandler statements

2001-06-18 Thread Douglas C. Heestand
We have a CGI script which dynamically generates a certain page on our site. We want to include an SSI on that dynamically created page. Is that possible? We have two AddHandler statements for files that end in .cgi... IfModule mod_mime.c ... AddHandler server-parsed .cgi ...

Adding parameters to a request

2001-06-18 Thread Rob Bloodgood
In my AuthenHandler, I run the following snippet: # validation successful $apr-subprocess_env(REMOTE_PASSWORD = $pass); my $args = $apr-args || ''; $apr-args( $args . ( length $args ? '' : '' ) . pid=$pid ) unless $args =~ /pid=\d+/; return OK;

RE: Adding parameters to a request

2001-06-18 Thread Geoffrey Young
-Original Message- From: Rob Bloodgood To: mod_perl Sent: 6/18/01 6:35 PM Subject: Adding parameters to a request [snip] I'm using Apache::Request, for the sole purpose of having easier access to the parameters. Except that it turns out Apache::Request's param() method does NOT

RE: Adding parameters to a request

2001-06-18 Thread Rob Bloodgood
[snip] I'm using Apache::Request, for the sole purpose of having easier access to the parameters. Except that it turns out Apache::Request's param() method does NOT support *setting* parameters, only *getting* them. sigh the $apr-param('foo' = [qw(one two three)]); example in the

RE: Adding parameters to a request

2001-06-18 Thread Geoffrey Young
-Original Message- From: Rob Bloodgood To: Geoffrey Young Cc: mod_perl Sent: 6/18/01 8:33 PM Subject: RE: Adding parameters to a request [snip] But I don't know if the above call is complete (changes to the Apache::Table object reflect in the request). oh, I see... I don't think I

Re: mod_perl bof Oreilly Conference TShirts

2001-06-18 Thread Randal L. Schwartz
Gunther == Gunther Birznieks [EMAIL PROTECTED] writes: Gunther A month ago I posed a question about TShirts for mod_perl BOF. Gunther One group of people did volunteer to do the design and posted interest Gunther on here. So if they are still up for it, it would be awesome to start Gunther

Requests using If-Modified-Since cause response Set-Cookie to be discarded

2001-06-18 Thread Andrew Gilmartin
I have PerlAuthenHandler handler that sets a cookie on authentication success. The cookie records, in part, the time of the last access to the site. Therefore for each access the cookie is updated. When a new document is accessed or a CGI script is run the cookie is sent to the browser. However,

Re: [Patch] Apache-dso_module()

2001-06-18 Thread Doug MacEachern
On Mon, 18 Jun 2001, Philippe M . Chiasson wrote: In my case, I used it to work around the strange mod_perl behaviour under DSO (fixed in CVS) right, so that is no longer needed. any other examples? i hesitate on adding the feature because anything that needs to be conditional based on

Re: Install mod_perl on Solaris 2.7

2001-06-18 Thread Doug MacEachern
On Mon, 18 Jun 2001, Paul Lindner wrote: -Uusemymalloc \ ... PERL_CCEOPTS=-Dccflags='-DPERL_EMERGENCY_SBRK -DTWO_POT_OPTIMIZE -DPACK_MALLOC' these options are only in effect when using Perl's malloc, which -Uusemymalloc turns off. they are also all turned on by default in 5.6.0+

Re: Install mod_perl on Solaris 2.7

2001-06-18 Thread Doug MacEachern
On Mon, 18 Jun 2001, Paul Reynolds wrote: What versoin of mod_perl are you using? I tend to stay away from 1.25. care to share the problems you have with 1.25? if they are not fixed in cvs, now is the time to make them known to be fixed for 1.26.

Confusion resolved (was: mod_perl DSO leaking on restart)

2001-06-18 Thread Paul G. Weiss
I think I've found the error of my ways. The reason that it was leaking with a static build was that the PerlFreshRestart directive was set to 'On'. This resulted in a leak of a couple of Mb. The reason that it was leaking with a USE_DSO build was that I didn't set PERL_DESTRUCT_LEVEL. Once I

Re: Confusion resolved (was: mod_perl DSO leaking on restart)

2001-06-18 Thread Doug MacEachern
ah ha, right, since i always have PERL_DEBUG=1, perl_destruct_level is always set to 2. good find! it should always be 2 for dso, this patch seems to fix USE_APXS too. --- src/modules/perl/mod_perl.c 2001/06/14 04:49:08 1.137 +++ src/modules/perl/mod_perl.c 2001/06/19 01:59:18 @@ -259,8

cvs commit: modperl Changes

2001-06-18 Thread dougm
dougm 01/06/18 19:36:42 Modified:src/modules/perl mod_perl.c .Changes Log: perl_destruct_level must always be 2 for DSO builds Revision ChangesPath 1.138 +1 -2 modperl/src/modules/perl/mod_perl.c Index: mod_perl.c

cvs commit: modperl/src/modules/perl mod_perl.c

2001-06-18 Thread dougm
dougm 01/06/18 19:38:55 Modified:src/modules/perl mod_perl.c Log: removing dead code Revision ChangesPath 1.139 +0 -23 modperl/src/modules/perl/mod_perl.c Index: mod_perl.c === RCS file:

cvs commit: modperl/src/modules/perl mod_perl.c mod_perl.h perl_config.c

2001-06-18 Thread dougm
dougm 01/06/18 20:12:48 Modified:.Makefile.PL src/modules/perl mod_perl.c mod_perl.h perl_config.c Log: remove dead code for PERL_STARTUP_{IS_DONE,DONE_CHECK} hack Revision ChangesPath 1.187 +0 -2 modperl/Makefile.PL Index: