Re: Apache::Session::Lock::File hangs under Windows

2003-07-07 Thread Andrew Alakozow
PH> On Mon, 2003-07-07 at 07:29, Andrew Alakozow wrote: >> Apache::Session::Lock::File hangs under Windows if you try to remove >> session or add data to existing session. This happenes because you >> cannot "flock($self->{fh}, LOCK_EX)" if you already has >> "flock($self->{fh}, LOCK_SH)" in Wind

mod_perl-1.99_0.9 on Mac OS X 10.2.6

2003-07-07 Thread Sebastian Riedel
Hi, I heared a lot of people complaining that they can't get mod_perl-1.99_09 running on Mac OS X. Here is a little scenario that worked for me. These are the steps: Sources: Grab the sources from your closest mirrors and untar them. If this is the first time you upgrade to 5.8

Re: Newbie question about mod_perl capabilities

2003-07-07 Thread Ged Haywood
Hi there, On 7 Jul 2003, Walter H. van Holst wrote: > I am new to mod_perl and am trying to figure out whether it suits my > needs or not. Can I use it to intercept any http CONNECT requests Apache > receives and answer those? The concept of a connection is at the transport level, way below HTT

Re: Apache::Registry -> String Compaction == Less RAM?

2003-07-07 Thread Perrin Harkins
On Mon, 2003-07-07 at 11:50, Nigel Hamilton wrote: > I thought I could save some RAM by stripping out comments and > whitespace before the eval step - so I quickly wrote a Registry-like > handler that strips comments. Those don't take up any space in the actual compiled opcodes. The only sp

Re: require'ing data files under mod_perl

2003-07-07 Thread Peter Ensch
On Thu, Jul 03, 2003 at 05:15:31PM -0400, Perrin Harkins wrote: > On Thu, 2003-07-03 at 16:59, Peter Ensch wrote: > > OK. Thanks. Well, yes it is being reloaded whenever the form > > is submitted and w/out restarting the server. Here's some of > > the output (error_log): > > > > [Thu Jul 3 15:52

Re: Combining authen-handler with mod_auth

2003-07-07 Thread Geoffrey Young
Thanks! I guess that may be possible, but somewhat problematic since I like to stay with the distros apache-version. Btw, I remember seeing something about APR_HOOK_(LAST|FIRST|...) in the docs on perl.apache.org. Not implemented yet? I'm not sure what docs you're thinking about, but that change

Newbie question about mod_perl capabilities

2003-07-07 Thread Walter H. van Holst
Hi, I am new to mod_perl and am trying to figure out whether it suits my needs or not. Can I use it to intercept any http CONNECT requests Apache receives and answer those? Regards, Walter -- Like almost everyone, I receive a lot of spam every day, much of it offering to help me get out of de

ProxyPass not getting type of dynamic images?

2003-07-07 Thread Kirk Bowe
Hi, I'm doing a naive one size fits all ProxyPass thing wherein I've got one server simply sitting between the end users and the real machine. So my only lines are: ProxyPass / http://other.server.with.specified.port.com:8082/ ProxyPassReverse / http://other.server.with.specified.port.com:8082/

Apache::Registry -> String Compaction == Less RAM?

2003-07-07 Thread Nigel Hamilton
Hi, Apache::Registry slurps in your Perl modules as strings and then evals them. I thought I could save some RAM by stripping out comments and whitespace before the eval step - so I quickly wrote a Registry-like handler that strips comments. Alas, the experiment failed -

Re: Apache::Session::Lock::File hangs under Windows

2003-07-07 Thread Perrin Harkins
On Mon, 2003-07-07 at 07:29, Andrew Alakozow wrote: > Apache::Session::Lock::File hangs under Windows if you try to remove > session or add data to existing session. This happenes because you cannot > "flock($self->{fh}, > LOCK_EX)" if you already has "flock($self->{fh}, LOCK_SH)" in Windows. Unde

Apache::Session::Lock::File hangs under Windows

2003-07-07 Thread Andrew Alakozow
Hello, This may be OT, but may be not though Apache::Session is widely used under mod_perl. Apache::Session::Lock::File hangs under Windows if you try to remove session or add data to existing session. This happenes because you cannot "flock($self->{fh}, LOCK_EX)" if you already has "flock($self-

[MP2 BUG] PerlPassEnv issues

2003-07-07 Thread Sreeji K Das
Looks like PerlSetEnv's are not propagated as expected. I've pasted my original mail to the list. However, after going through the code, it looks like scfg->PassEnv is not synced with Perl's %ENV structure. Following is a simpler example: $ cat /tmp/test.conf ; PerlPassEnv MY_TEST_VAR print "M

Re: non-LFS Apache 1.3.27 w/ LFS Perl 5.8.0 (using mod_perl)

2003-07-07 Thread Stas Bekman
[EMAIL PROTECTED] wrote: Thanks for your prompt response! We did compile Apache with CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" but we're trying to move away from this now, because of vendors like IBM and Oracle not willing to re-compile (websphere mods and mod_ossos) with the same flags.