Re: Cheap and unique

2002-05-03 Thread Ken Williams
On Wednesday, May 1, 2002, at 06:46 AM, OCNS Consulting wrote: Of course srand seeds rand. And yes, it is a good way to generate random numbers for a one time application RUN. The original poster is not looking for random, he's looking for unique. These are in many ways *opposite*

HELP !!! Trying to get mod_perl and Apache2 working together on Win32....

2002-05-03 Thread Jean-Marc Paulin
Hi there, I am runing Win2000 SP2, and Apache 2.0.35 I have managed to build mod_perl (perl Makefile.PL and then nmake) but the test part fails: Apache crashes (Memory at 0x0018 cannot be read). Bug Maybe ? Ok, I believe that configuration has been tryed before, so I must be missing a

Apache::Reload question...

2002-05-03 Thread Rob Mueller (fastmail)
I've got a "reality check" question for people to see that I'm not missing something obvious with our Apache::Reload mod_perl setup. We've recently install Apache::Reload at our site in production and it's working great. In what isprobably not the best 'software engineering' style, we've

Re: problems setting up Apache::AuthCookieDBI

2002-05-03 Thread F . Xavier Noria
On Thu, 02 May 2002 15:22:59 -0400 Fran Fabrizio [EMAIL PROTECTED] wrote: : Do you have this in httpd.conf (or mod_perl.conf) : : PerlSetVar BuscaWAPDBI_SecretKeyFile /home/fxn/prj/bw/buscawap/etc/auth.key : : ? I have all mod_perl-related things in mod_perl.conf, and httpd.conf ends with

HELP - Trying to get mod_perl and Apache2 working together on Win32....

2002-05-03 Thread Jean-Marc Paulin
Hi there,I am runing Win2000 SP2, and Apache 2.0.35I have managed to build mod_perl (perl Makefile.PL and then nmake) but thetest part fails: Apache crashes (Memory at 0x0018 cannot be read). BugMaybe ?Ok, I believe that configuration has been tryed before, so I must be missinga point

Re: problems setting up Apache::AuthCookieDBI (solved but no fully understood)

2002-05-03 Thread F . Xavier Noria
On Thu, 2 May 2002 20:10:15 +0200 F. Xavier Noria [EMAIL PROTECTED] wrote: : I am having problems configuring Apache::AuthCookieDBI and am a bit : lost, since it seems there is something wrong with the secret key : file I cannot see, I attach below the configuration in case it can : help. I have

Re: Apache::Reload question...

2002-05-03 Thread Geoffrey Young
The question I had regards where to put the 'Apache::Reload' directive. The documentation suggests something like: PerlInitHandler Apache::Reload PerlSetVar ReloadAll Off PerlSetVar ReloadTouchFile /tmp/reload_modules The problem I see in a production machine is that

Re: problems setting up Apache::AuthCookieDBI (solved but no fullyunderstood)

2002-05-03 Thread Fran Fabrizio
Loading Apache::AuthCookieDBI after setting WhatEverDBI_SecretKeyFile has solved the problem. I am doing something wrong or the example in the manual page would need to be modified? That's odd, I load my module first before setting the secret key (or any of the other variables) and it works

Re: problems setting up Apache::AuthCookieDBI (solved but no fully understood)

2002-05-03 Thread F . Xavier Noria
On Fri, 03 May 2002 09:09:08 -0400 Fran Fabrizio [EMAIL PROTECTED] wrote: : : : Loading Apache::AuthCookieDBI after setting WhatEverDBI_SecretKeyFile : has solved the problem. I am doing something wrong or the example in the : manual page would need to be modified? : : That's odd, I load my

Re: problems setting up Apache::AuthCookieDBI (solved but no fullyunderstood)

2002-05-03 Thread Fran Fabrizio
Does the server load the module that way? It's beyond my expertise at this point but my experience would indicate that it does not work this way since I have PerlModule before the PerlSetVar and it works fine. -Fran

[ANNOUNCE] Apache::GuessCharset

2002-05-03 Thread Tatsuhiko Miyagawa
Apache::GuessCharset is a PerlFixupHandler to demonstrate bleeding edge perl's powerful encoding detection, thanks to Encode module. It's now going on its way to CPAN, or also on http://bulknews.net/lib/archives/ NAME Apache::GuessCharset - adds HTTP charset by guessing file's encoding

Re: Cheap and unique

2002-05-03 Thread David Jacobs
Good morning. Ken is correct - I am not looking for random, I am looking for unique. Unique and sequenced would be ideal, but it's tricky because if I use $i++.$IP_address.$parameter.$PID {$i is global, $IP_address is the server address, $parameter is a parameter that was just passed in,

Re: Cheap and unique

2002-05-03 Thread Stas Bekman
David Jacobs wrote: Good morning. Ken is correct - I am not looking for random, I am looking for unique. Unique and sequenced would be ideal, but it's tricky because if I use $i++.$IP_address.$parameter.$PID {$i is global, $IP_address is the server address, $parameter is a

Re: HELP - Trying to get mod_perl and Apache2 working together onWin32....

2002-05-03 Thread Randy Kobes
On Fri, 3 May 2002, Jean-Marc Paulin wrote: Hi there, I am runing Win2000 SP2, and Apache 2.0.35 I have managed to build mod_perl (perl Makefile.PL and then nmake) but the test part fails: Apache crashes (Memory at 0x0018 cannot be read). Bug Maybe ? It seems so ... However, as you

Re: SOAP and web services

2002-05-03 Thread Bart Frackiewicz
Hi Ric, I use mod_perl/apache/soap::lite to create an internal application server so that I can distribute processing load from the public webserver. This also allows me to expose a soap web service to the public if I wished to give them direct access to a method on this application

Re: SOAP and web services

2002-05-03 Thread Richard Clarke
that too :) - Original Message - From: Bart Frackiewicz [EMAIL PROTECTED] To: Richard Clarke [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, May 03, 2002 4:15 PM Subject: Re: SOAP and web services Hi Ric, I use mod_perl/apache/soap::lite to create an internal application server

Re: Can mod_perl help me use ENV variables in httpd.conf?

2002-05-03 Thread Fran Fabrizio
What I was really looking for was $r-server_root_relative. =) Thanks Geoff! That's to all for your help. -Fran You'll also need to use a PerlPassEnv directive prior to your Perl block. For debug purposes, try adding the following inside your Perl block: print join(\n, map { $_ =

Re: HELP - Trying to get mod_perl and Apache2 working together on Win32....

2002-05-03 Thread Jean-Marc Paulin
Randy, Thanks a lot. I thought I was not the only one. In fact, this is not the test apache\post that hangs, but when running the test apache\conftree that apache.exe dies.what happens after is because I've aborted the script via Ctrl+Brk. Regarding the Pb with Apache itself, I did copy the

Re: HELP - Trying to get mod_perl and Apache2 working together onWin32....

2002-05-03 Thread Randy Kobes
On Fri, 3 May 2002, Jean-Marc Paulin wrote: Randy, Thanks a lot. I thought I was not the only one. In fact, this is not the test apache\post that hangs, but when running the test apache\conftree that apache.exe dies.what happens after is because I've aborted the script via Ctrl+Brk. I

Re: SOAP and web services

2002-05-03 Thread James G Smith
Bart Frackiewicz [EMAIL PROTECTED] wrote: Hi Ric, I use mod_perl/apache/soap::lite to create an internal application server so that I can distribute processing load from the public webserver. This also allows me to expose a soap web service to the public if I wished to give them

Help with Method Handlers in mod_perl 1.99

2002-05-03 Thread Peter Rothermel
Can somebody help me out with Method Handlers in Apache2 - mod_perl 1.99? I'm new to windows and its threading issues. Here's a simple authentication handler that shows where I'm getting stuck. I need to initialize a AuthDerivedHandler object but I'm not sure exactly how to do this. package

Re: Help with Method Handlers in mod_perl 1.99

2002-05-03 Thread Geoffrey Young
Peter Rothermel wrote: Can somebody help me out with Method Handlers in Apache2 - mod_perl 1.99? I'm new to windows and its threading issues. [snip] sub authenticate ($$) { my ($self, $r) = _; return OK; } I haven't played much with mod_perl 2.0 yet, but I know that this

Re: Help with Method Handlers in mod_perl 1.99

2002-05-03 Thread Peter Rothermel
I tried the mehod attribute and now I get this error: Error message: Can't locate object method via package Apache::AuthDerivedHandler. Geoffrey Young wrote: Peter Rothermel wrote: Can somebody help me out with Method Handlers in Apache2 - mod_perl 1.99? I'm new to windows and

[Win32] documentation on mod_perl-2

2002-05-03 Thread Randy Kobes
Hi, I've started a document on getting and configuring mod_perl-2 with Apache-2 on Win32 at http://theoryx5.uwinnipeg.ca/win32_apache2.html describing both building mod_perl-2 and getting binary packages. Comments, omissions, corrections, etc. are very welcome. Thanks. best regards, randy

RE: problems setting up Apache::AuthCookieDBI (solved but no fully understood)

2002-05-03 Thread Jim Helm
I was having the exact same problem 2 days ago... Could it be a difference in static vs. dso? I'm running mod_perl as a dso - how about you two? I did basically the same troubleshooting (added some log_error statements to the BEGIN block) and noticed the same thing - SecretKey file wasn't

RE: problems setting up Apache::AuthCookieDBI (solved but no fully understood)

2002-05-03 Thread Jim Helm
p.s. FWIW, I ended up using Apache::AuthTicket instead - has a feature I wanted (timeout, not just expiry), which CookieDBI didn't have), and it worked as documented with zero hassle... Jim -Original Message- From: Fran Fabrizio [mailto:[EMAIL PROTECTED]] Sent: Friday, May 03,

Re: Problems with Apache-AuthCookie mod_perl 1.99

2002-05-03 Thread Michael J Schout
On Thu, 2 May 2002, Per Einar Ellefsen wrote: At 21:25 02.05.2002, Peter Rothermel wrote: greetings, Has anybody had any luck getting Apache-AuthCookie going on an Apache 2.0 / mod_perl 1.99 setup? The first thing that I hit was $r-connection-user is deprecated. I've changed these to

Re: problems setting up Apache::AuthCookieDBI (solved but no fully understood)

2002-05-03 Thread Peter Bi
Try my Apache::AccessCookie too. It provides the same ticketing interface for many different authenticating methods such as LDAP, IMAP, ftp, SMB, and (of course) DBI, plus a number of useful features. One can simply implement her own mechanism too. It can be downloaded at