Subclassed Apache::Request Objects and their creation/destruction

2003-04-04 Thread Martin Moss
All,I'm looking for some help with understanding how the Apache::Request objectsare created and destroyed.I have the following params set in my httpd.confKeepAlive OffPerlChildInitHandler Bficient::Apache::DBloadWhich as I understand it should mean that an apache::Request object iscreated

stopping concurrent logins

2003-04-04 Thread Todd White
i'm sure this is not a novel need, but i have failed to find or come up with just yet any (non-cookie) solution yet. i'm trying dearly to avoid cookies, but if that's the best or only way to do this, feel free to speak up. i'd love to hear from someone who has already tackled the problem of

RE: [mp2.0] W2000, Apache 2.0.43 + mod_perl 1.99_09 does not start

2003-04-04 Thread Melchior, Matthijs
Title: RE: [mp2.0] W2000, Apache 2.0.43 + mod_perl 1.99_09 does not start Randy, sorry for the text+html, I am trying to get that changed... -Original Message- From: Randy Kobes [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 03, 2003 17:59 . On Thu, 3 Apr 2003,

checking what values have been set using pnotes/notes

2003-04-04 Thread Martin Moss
All, Is there a way to work out what values have been set using pnotes/notes, So that a cleanup Handler can dynamically clear the values, rather than only clear ones pre-programmed? Marty

Re: checking what values have been set using pnotes/notes

2003-04-04 Thread Geoffrey Young
Martin Moss wrote: All, Is there a way to work out what values have been set using pnotes/notes, So that a cleanup Handler can dynamically clear the values, rather than only clear ones pre-programmed? both notes and pnotes are guaranteed fresh at the start of each request, so there is no

RE: [mp2.0] W2000, Apache 2.0.45, mod_perl-2 1.99_09-dev crashes

2003-04-04 Thread Melchior, Matthijs
Title: RE: [mp2.0] W2000, Apache 2.0.45, mod_perl-2 1.99_09-dev crashes Sebastian, Sooo, it IS possible to get this running on W2000. thanks! Now the big question: what is different between your system and ours...? Do you remember what happened during install, what non-standard

RE: [mp2.0] W2000, Apache 2.0.45, mod_perl-2 1.99_09-dev crashes

2003-04-04 Thread Sebastian Breier
At 17:38 04.04.2003, Melchior, Matthijs wrote: Sebastian, Sooo, it IS possible to get this running on W2000. thanks! Of course it's possible... :-P I've been running it for a year now I think... though my main Apache box is WinNT 4 SP6a. Now the big question: what is different

RE: [mp2.0] W2000, Apache 2.0.45, mod_perl-2 1.99_09-dev crashes

2003-04-04 Thread Melchior, Matthijs
Title: RE: [mp2.0] W2000, Apache 2.0.45, mod_perl-2 1.99_09-dev crashes Sebastian, -Original Message- From: Sebastian Breier [mailto:[EMAIL PROTECTED]] Sent: Friday, April 04, 2003 17:51 At 17:38 04.04.2003, Melchior, Matthijs wrote: Sebastian, Sooo, it IS

RE: [mp2.0] W2000, Apache 2.0.43 + mod_perl 1.99_09 does not start

2003-04-04 Thread Randy Kobes
On Fri, 4 Apr 2003, Melchior, Matthijs wrote: -Original Message- From: Randy Kobes [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2003 17:59 On Thu, 3 Apr 2003, Melchior, Matthijs wrote: Hello, We have a problem getting mod_perl to run on a W2000 server. It

Re: MaxRequestsPerChild; which request am I?

2003-04-04 Thread Brian Reichert
On Thu, Apr 03, 2003 at 11:10:58PM -0800, Bill Moseley wrote: On Fri, 4 Apr 2003, Brian Reichert wrote: Dunno if someone has a good answer, or a suggestion of a better forum for this: Apache has a configuration directive: MaxRequestsPerChild

Re: MaxRequestsPerChild; which request am I?

2003-04-04 Thread Bill Moseley
On Fri, 4 Apr 2003, Brian Reichert wrote: In messing with Apache 1.x, is there a way, via mod-perl, of a request knowing how many requests have been served by the current child? $request++; That's what I do in some handler, and then I log it along with the PID. Eh? I'm

Re: [mp2.0] W2000, Apache 2.0.45, mod_perl-2 1.99_09-dev crashes

2003-04-04 Thread Randy Kobes
On Fri, 4 Apr 2003, Sebastian Breier wrote: Hi. I just upgraded Apache to 2.0.45 (from 2.0.44), and now most of my perl-generated sites crash. They worked perfectly before. Server is Apache 2.0.45 on W2000 + mod_perl-2 1.99_09-dev, as said in the subject. I just checked again with

Re: MaxRequestsPerChild; which request am I?

2003-04-04 Thread Matt
$request++; That's what I do in some handler, and then I log it along with the PID. Eh? I'm confused. What is '$request' in that example? If you mean it's the request object, then that doesn't do what I expect. This code: warn request is [.$r.]\n; yields: request is

Re: MaxRequestsPerChild; which request am I?

2003-04-04 Thread Brian Reichert
On Fri, Apr 04, 2003 at 08:38:53AM -0800, Bill Moseley wrote: On Fri, 4 Apr 2003, Brian Reichert wrote: Eh? I'm confused. What is '$request' in that example? If you mean it's the request object, then that doesn't do what I expect. No, it's a simple counter. It's just a variable in some

Re: MaxRequestsPerChild; which request am I?

2003-04-04 Thread Perrin Harkins
Brian Reichert wrote: Is this 'total_jobs' exposed somehow via an Apache object? The documentation for the Apache module doesn't say anything about it, so I think you have your answer. We just use a global for this in Apache::SizeLimit. - Perrin

Re: stopping concurrent logins

2003-04-04 Thread Juha-Mikko Ahonen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday 03 April 2003 20:33, Perrin Harkins wrote: Of course you could also just totally prevent people from logging in again if there is already an active session for that user, but that will cause problems because your sessions will not get

Re: stopping concurrent logins

2003-04-04 Thread Robert Landrum
On Fri, Apr 04, 2003 at 03:34:25PM +0200, Frank Maas wrote: You can set a session (see Apache::Session and related modules) that can use the uri as session-container as well (eg http://www.example.com/9o79876a98d7fa98d7/path/to/doc). The session part (9o79876a98d7fa98d7) can be stored in a

Re: [mp2.0] W2000, Apache 2.0.45, mod_perl-2 1.99_09-dev crashes

2003-04-04 Thread Sebastian Breier
At 18:35 04.04.2003, Randy Kobes wrote: If this is with ActivePerl 8xx, though, then it may be that there's an incompatibility between modules compiled against Apache 2.0.44 (which the mod_perl ppm package on our site was compiled against) and Apache 2.0.45. The Apache group says that, starting

RE: stopping concurrent logins

2003-04-04 Thread Frank Maas
On Fri, Apr 04, 2003 at 03:34:25PM +0200, Frank Maas wrote: You can set a session (see Apache::Session and related modules) that can use the uri as session-container as well (eg http://www.example.com/9o79876a98d7fa98d7/path/to/doc). The session part (9o79876a98d7fa98d7) can be stored in a

RE: [mp2.0] W2000, Apache 2.0.45, mod_perl-2 1.99_09-dev crashes

2003-04-04 Thread Sebastian Breier
At 18:14 04.04.2003, Melchior, Matthijs wrote: Well, the problem does not occur at installation time, that was without problem. It happens when Apache wants to load mod_perl.so, then it dies with error The specified procedure could not be found. Note, it talks about 'prodedure', not 'module'. To

Re: stopping concurrent logins

2003-04-04 Thread Andrew Moore
On Fri, Apr 04, 2003 at 10:13:59PM +0200, Frank Maas wrote: On the latter I totally agree. To avoid the session snatching you describe, you can store IP addresses on your site in the database. You won't solve proxyserver-problems with this though. So what about the following approach: *

Apache::AuthTicket lookalike for DBM files

2003-04-04 Thread Martin Langhoff
I am looking for a mod_perl implementation of mod_auth_dbm that takes cookies instead of HTTP-AUTH Basic. Or perl implementation of mod_auth_cookie, perhaps (I think mod_auth_cookie does exactly that). I was sure I would find it in CPAN, and, sure enough, AuthTicket and others are there, offering

RE: stopping concurrent logins

2003-04-04 Thread Frank Maas
On Fri, Apr 04, 2003 at 10:13:59PM +0200, Frank Maas wrote: On the latter I totally agree. To avoid the session snatching you describe, you can store IP addresses on your site in the database. You won't solve proxyserver-problems with this though. So what about the following approach:

Convert Cookies--HTTP Request Headers?

2003-04-04 Thread Kruse, Matt
Title: Convert Cookies--HTTP Request Headers? I have a unique need purely for testing purposes. I'm not very familiar (yet) with mod_perl handlers in Apache, so I've had a rough time getting anything going. Here is my goal: For every request to Apache: 1. Parse the cookie coming in via

RE: stopping concurrent logins

2003-04-04 Thread Goehring, Chuck Mr., RCI - San Diego
Robert, When I was designing the security for a perl/cgi system I spent a lot of time on the cookie issue. I don't have any problem myself with servers putting cookies on my machine. The subject happened to come up with one of the guys that works on the LAN at a customer of ours. He is

AuthDBI fix for MSWin32

2003-04-04 Thread Reini Urban
I'm tired of disabling IPC::SysV in AuthDBI.pm for every update. Please check some fix like this in. no strict in the child handlers cannot be evaluated at run-time but is needed for Win32. Better ways? Tested with Randy Cobes mod_perl binary for Win32. Active Perl 633, v5.6.1 built for

Apache::ASP Configuration

2003-04-04 Thread Quan Mac
Hi, I just installed mod_perl and Apache::ASP on my computer and I was wondering if you could tell me how to configure my Apache httpd.conf file to make ASP pages work. I tried adding in the lines from the website for configuration and then I restarted Apache. All I get is the html, but

BUG [in docs] mailing list subscription does not actually indicatelist post address

2003-04-04 Thread Matthew Wickline
http://perl.apache.org/maillist/email-etiquette.html Posting to the list is just sending a message to the address which you will be given after you subscribe. The above should either be updated, or the welcome message should be updated. I've just subscribed to the digest version, and the

Re: Apache::ASP Configuration

2003-04-04 Thread Josh Chamas
Quan Mac wrote: Hi, I just installed mod_perl and Apache::ASP on my computer and I was wondering if you could tell me how to configure my Apache httpd.conf file to make ASP pages work. I tried adding in the lines from the website for configuration and then I restarted Apache. All I get is the

[mp2] Content-Type not being set as expected

2003-04-04 Thread Goehring, Chuck Mr., RCI - San Diego
mp2 Guys, I am getting xml (seemingly) instead of html 3.2 out of Apache2/ModPerl::Registry/CGI.pm. I'm setting content type in my code like this: use CGI qw/:standard :html3/; ... print header(-type='text/html'); Has some default changed or a switch I need to set. Netscape 7.02 is

Re: Convert Cookies--HTTP Request Headers?

2003-04-04 Thread Brian Reichert
On Fri, Apr 04, 2003 at 04:10:03PM -0500, Kruse, Matt wrote: I have a unique need purely for testing purposes. I'm not very familiar (yet) with mod_perl handlers in Apache, so I've had a rough time getting anything going. Here is my goal: For every request to Apache: 1. Parse the cookie