Re: [MP2] : REDIRECT_ERROR_NOTES not set on errordocument redirect

2005-05-11 Thread Mark
Stas Bekman wrote: Mark wrote: -8-- Start Bug Report 8-- 1. Problem Description: $ENV{REDIRECT_ERROR_NOTES} not working with MP2 Using latest everything (modperl 2 RC5). To illustrate, I simply configure Apache with an errordocument: ErrorDocument 500

Login window always show up in IE by using Apache2::AuthenNTLM

2005-05-11 Thread Gert Jan Schipper
Hi All, I have a RedHat 3.0AS with apache 2.48 When I surf to a folder on my apache that I have set to be authenticated from my domain. My Internet Explorer 6 gets and windows login popup, where it ask me to fill in User Name Password Domain but I want the login to be transparent.. this

Apache::SizeLimit?

2005-05-11 Thread Torsten Foertsch
Hi, as I have learned from the Debugging memory allocation thread Apache::SizeLimit can be used to kill a child if it's unshared part grows to big. To measure this unshared part on linux /proc/PID/statm is used. I was in doubt that the simple difference between the total number of pages and

Re: limiting subroutine run time

2005-05-11 Thread Enno
This is not mod_perl related, but take a look at: perldoc -f alarm On Tue, 10 May 2005, Igor Chudov wrote: I am working on a system on algebra.com where anyone could define a math solver for a particular kind of problem. It could be defined either via a custom markup language (not

[QUESTION] Browser hangs if multiple requests on the same Perl resource (Apache2, modperl2, Win32)

2005-05-11 Thread Pascal . Davoust
Hi, I've got a problem with a modperl-enabled site. I've looked into the doc, troubleshooting, mailing list archives, but to no avail, so I'm kindly asking experts help. Symptom: Some users have their browser stalled forever trying to load something from the server, without ever

Re: limiting subroutine run time

2005-05-11 Thread Perrin Harkins
On Tue, 2005-05-10 at 21:43 -0700, Igor Chudov wrote: These user submitted perl scripts will be executed inside Safe.pm compartment. I hope that they will be secure enough. It won't be, if someone is determined to damage your system. My question is, is there some way to limit execution time

Re: [QUESTION] Browser hangs if multiple requests on the same Perl resource (Apache2, modperl2, Win32)

2005-05-11 Thread Perrin Harkins
On Wed, 2005-05-11 at 15:55 +0200, [EMAIL PROTECTED] wrote: Server Version: Apache/2.0.54 (Win32) mod_ssl/2.0.54 OpenSSL/0.9.7g mod_auth_sspi/1.0.1 mod_perl/1.999.21 Perl/v5.8.6 Does it happen without mod_auth_sspi? - Perrin

Re: limiting subroutine run time

2005-05-11 Thread Igor Chudov
--- Perrin Harkins [EMAIL PROTECTED] wrote: On Tue, 2005-05-10 at 21:43 -0700, Igor Chudov wrote: These user submitted perl scripts will be executed inside Safe.pm compartment. I hope that they will be secure enough. It won't be, if someone is determined to damage your system. Can

Re: limiting subroutine run time

2005-05-11 Thread Perrin Harkins
On Wed, 2005-05-11 at 07:57 -0700, Igor Chudov wrote: Can you be a little more specific? Are you talking about damage such as abuse of resources, or are you talking about gaining unauthorized privileges? Possibly both. The thing is, no one uses Safe. Since no one uses it, you can't count on

RE: [QUESTION] Browser hangs if multiple requests on the same Perlresource (Apache2, modperl2, Win32)

2005-05-11 Thread Pascal . Davoust
Yes, it does also happen without mod_sspi. Just tried. Pascal. -Message d'origine- De : Perrin Harkins [mailto:[EMAIL PROTECTED] Envoyé : mercredi 11 mai 2005 16:54 À : [EMAIL PROTECTED] Cc : modperl@perl.apache.org Objet : Re: [QUESTION] Browser hangs if

updates on the perl threads scaling issues

2005-05-11 Thread Stas Bekman
A few updates on what happens on the perl threads scaling issues front. If you remember perl threads are painfully slow to start if you have lots of modules loaded, since the perl threading model is based on cloning all variables, but sharing the op-code tree. So on the loaded machine it's

Re: Apache::Session not updating (writing)

2005-05-11 Thread Rick
On 5/10/05, Bart Simpson [EMAIL PROTECTED] wrote: --- Rick [EMAIL PROTECTED] wrote: I'm having problems with MasonX::Request::WithApacheSession (using Apache::Session::MySQL backend). The session is not being updated, so I can't save any data to it. I verified this by looking at the

Re: Apache::SizeLimit?

2005-05-11 Thread Stas Bekman
Perrin Harkins wrote: On Wed, 2005-05-11 at 13:27 +0200, Torsten Foertsch wrote: Is there a way on linux to get the amount of pages shared among processes by copy on write? No. There was a lengthy discussion about this on the list a few months back. The methods used by SizeLimit and GTop no

Re: limiting subroutine run time

2005-05-11 Thread Stas Bekman
Thanks. I will try using alarm also. Though, be aware of the issues with signals in recent perls and specifically with Apache2. http://perl.apache.org/docs/2.0/user/coding/coding.html#Using_Signal_Handlers -- __ Stas Bekman

Re: Apache::Session not updating (writing)

2005-05-11 Thread Bart Simpson
--- Rick [EMAIL PROTECTED] wrote: On 5/10/05, Bart Simpson [EMAIL PROTECTED] wrote: --- Rick [EMAIL PROTECTED] wrote: I'm having problems with MasonX::Request::WithApacheSession (using Apache::Session::MySQL backend). The session is not being updated, so I can't save any

Re: Apache::SizeLimit?

2005-05-11 Thread Stas Bekman
Perrin Harkins wrote: On Wed, 2005-05-11 at 13:20 -0400, Stas Bekman wrote: It's not that SizeLimit and GTop no longer work, it's the recent linux kernels that have stopped maitaining certain information about shared memory. So the sharing happens, but there is no way to measure it. My

ANNOUNCE: Krang 1.102

2005-05-11 Thread Aaron Dancygier
We're pleased to announce that Krang v1.102 is now available. Notable changes in this release: * Added a new Krang::ElementClass method, mark_form_invalid(). This method may be overriden to alter how Krang marks element form fields invalid. The default behvior, wrapping the field in a

Re: limiting subroutine run time

2005-05-11 Thread Igor Chudov
--- Stas Bekman [EMAIL PROTECTED] wrote: Thanks. I will try using alarm also. Though, be aware of the issues with signals in recent perls and specifically with Apache2. http://perl.apache.org/docs/2.0/user/coding/coding.html#Using_Signal_Handlers Thank you Stas. I disabled

Re: limiting subroutine run time

2005-05-11 Thread Stas Bekman
Igor Chudov wrote: --- Perrin Harkins [EMAIL PROTECTED] wrote: On Wed, 2005-05-11 at 07:57 -0700, Igor Chudov wrote: Can you be a little more specific? Are you talking about damage such as abuse of resources, or are you talking about gaining unauthorized privileges? Possibly both. The thing is,

Re: Apache::Session not updating (writing)

2005-05-11 Thread Rick
Just tried that %perl my %session; tie %session, 'Apache::Session::MySQL', undef, { Handle = $DBH, LockHandle = $DBH }; /%perl h3Setting some of the session keysh3 %perl $session{'car'} = { make =

Re: how to trap connection reset/abort in Apache::Filter?

2005-05-11 Thread Jeff Ambrosino
Ok, this is going to be tough for me to test because I'm still on RC4, so it's not yet converted to the new Apache2 naming. I'll still try to make/test the svn snapshot, though (which also gives me a good reason to get more familiar with subversion.) I'll email what I find out. thanks Stas!

Apache SessionTimeOut how to configure

2005-05-11 Thread raja agireddy
Hello, I have installed mod_perl, Apache2.0, AuthenSmb 0.72 for the NT authentication on the UNIX server. I want to implement the time out feature, so that any user after 30 minutes of inactive session needs to relogin. Any suggestions will be greatly appreciated. Regards, Raja

Apache2::Status, B::TerseSize

2005-05-11 Thread Matthew Berk
Trying to track down a bit o' memory bloat using the Symbol Table dump in /perl-status and B::TerseSize. Running into some problemsError: [Wed May 11 15:38:54 2005] [error] [client ::1] Use of uninitialized value in length at /Library/Perl/5.8.6/darwin-thread-multi-2level/Apache2/Status.pm

Vanishing Requests

2005-05-11 Thread David Marshall
Hi all, Our website is experiencing some very weird behavior that we don't know how to resolve. I have some avenues on which to do the next steps of investigation, but I'm really hoping that the mod_perl/Mason illuminati can shed some light on this. The basic problem: some requests just totally

Re: how to trap connection reset/abort in Apache::Filter?

2005-05-11 Thread Stas Bekman
Jeff Ambrosino wrote: Ok, this is going to be tough for me to test because I'm still on RC4, so it's not yet converted to the new Apache2 naming. I'll still try to make/test the svn snapshot, though (which also gives me a good reason to get more familiar with subversion.) I'll email what I find

Re: how to trap connection reset/abort in Apache::Filter?

2005-05-11 Thread Stas Bekman
Stas Bekman wrote: Jeff Ambrosino wrote: Ok, this is going to be tough for me to test because I'm still on RC4, so it's not yet converted to the new Apache2 naming. I'll still try to make/test the svn snapshot, though (which also gives me a good reason to get more familiar with subversion.) I'll

Re: Apache2::Status, B::TerseSize

2005-05-11 Thread Stas Bekman
Matthew Berk wrote: Trying to track down a bit o' memory bloat using the Symbol Table dump in /perl-status and B::TerseSize. Running into some problems Error: [Wed May 11 15:38:54 2005] [error] [client ::1] Use of uninitialized value in length at /Library/Perl/5.8.6/darwin-thread-

Re: [Mason] Vanishing Requests

2005-05-11 Thread Perrin Harkins
On Wed, 2005-05-11 at 18:22 -0700, David Marshall wrote: The basic problem: some requests just totally vanish. No record appears of them in the apache log, and no response is returned to the browser. Find out what they are doing by using mod_log_forensic:

svn commit: r169644 - in /perl/modperl/trunk: Changes lib/Apache2/Build.pm

2005-05-11 Thread stas
Author: stas Date: Wed May 11 08:14:51 2005 New Revision: 169644 URL: http://svn.apache.org/viewcvs?rev=169644view=rev Log: make sure that the build picks up the include directories based on the apxs queries and only search the httpd source if $self-{MP_AP_PREFIX} was set. Earlier it was always

Re: svn commit: r169644 - in /perl/modperl/trunk: Changes lib/Apache2/Build.pm

2005-05-11 Thread Philip M. Gollucci
[EMAIL PROTECTED] wrote: Author: stas Date: Wed May 11 08:14:51 2005 New Revision: 169644 URL: http://svn.apache.org/viewcvs?rev=169644view=rev Log: make sure that the build picks up the include directories based on the apxs queries and only search the httpd source if $self-{MP_AP_PREFIX} was set.

Re: svn commit: r169644 - in /perl/modperl/trunk: Changes lib/Apache2/Build.pm

2005-05-11 Thread Stas Bekman
Philip M. Gollucci wrote: [EMAIL PROTECTED] wrote: Author: stas Date: Wed May 11 08:14:51 2005 New Revision: 169644 URL: http://svn.apache.org/viewcvs?rev=169644view=rev Log: make sure that the build picks up the include directories based on the apxs queries and only search the httpd source if

svn commit: r169710 - /perl/modperl/trunk/xs/APR/Status/APR__Status.h

2005-05-11 Thread stas
Author: stas Date: Wed May 11 15:55:53 2005 New Revision: 169710 URL: http://svn.apache.org/viewcvs?rev=169710view=rev Log: align Modified: perl/modperl/trunk/xs/APR/Status/APR__Status.h Modified: perl/modperl/trunk/xs/APR/Status/APR__Status.h URL:

svn commit: r169713 - in /perl/modperl/trunk: Changes t/protocol/TestProtocol/echo_nonblock.pm xs/APR/Status/APR__Status.h xs/maps/apr_functions.map

2005-05-11 Thread stas
Author: stas Date: Wed May 11 16:04:04 2005 New Revision: 169713 URL: http://svn.apache.org/viewcvs?rev=169713view=rev Log: add APR::Status::is_ECONNRESET Modified: perl/modperl/trunk/Changes perl/modperl/trunk/t/protocol/TestProtocol/echo_nonblock.pm