Flakey behavior

2004-11-12 Thread David Dyer-Bennet
I'm running into flakoid behavior in a script that uses Image::EXIF to read file information under mod_perl (via Apache::Registry). Sometimes, without throwing any error or setting the internal error variable, Image::EXIF reads nothing from the file. I can't correlate it with anything; a random st

Re: Authentication using https

2004-11-12 Thread David Nicol
while you're at it you might take a look at the kerberos-like AIS infrastructure, which does not at this time use apache extensions at all but which provides passwordless e-mail-based SSO over an arbitrarily wide domain. -- David L Nicol "It's what God and Dwight Eisenhower intended, and it's w

Re: Segmentation fault with mod_perl 1.29, Apache 1.3.33

2004-11-12 Thread Stas Bekman
[Tim, please keep all the modperl discussions on the list unless someone has proposed to email them in private] Tim Evans wrote: You need to show us the backtrace of the segfault. Please see: http://perl.apache.org/docs/1.0/guide/help.html#How_to_Report_Problems Since others have posted this sam

Re: Send ASCII file to the browser

2004-11-12 Thread Chris Gamache
This might be solution: $r->content_type('text/plain'); --- Michael Stepanov <[EMAIL PROTECTED]> wrote: > Hi guys, > > I have a small problem with sending simple ASCII file > to the browser. Inside perl module I have a method > which find and send specific file: > > my $fh = new Apache::Fil

Send ASCII file to the browser

2004-11-12 Thread Michael Stepanov
Hi guys, I have a small problem with sending simple ASCII file to the browser. Inside perl module I have a method which find and send specific file: my $fh = new Apache::File('some_file'); my $r = Apache->request; $r->content_type('plain/text'); $r->headers_out->set('Content-Disposition' => "attach

Re: Segmentation fault with mod_perl 1.29, Apache 1.3.33

2004-11-12 Thread Stas Bekman
Tim Evans wrote: I've done a simple build (perl Makefile.PL USE_DSO=1) of version 1.29 with Apache 1.3.33. System is RH Linux 7.1, kernel 2.2.22-7.0.2; perl is 5.8.5 On even the simplest web page, browser says "document contains no data." Apache's error_log says: [Thu Nov 11 10:02:19 2004] [not

Re: Apache::Cookie

2004-11-12 Thread Arshavir Grigorian
Geoffrey Young wrote: Thanks for the feedback. I guess I am wondering who I would need to talk to in order to get this fixed. Joe is the man :) Just to understand, why does it need to use the err_headers_out instead of headers_out? There does not seem to be any errors. Am I misinterpreting

Re: logging at startup

2004-11-12 Thread Arshavir Grigorian
Tom Schindl wrote: Are you talking about mp1? This would be a possibility but with a significant performance hit. You could turn it the other wayround because you know when your server is starting: http://perl.apache.org/docs/1.0/api/Apache.html#Global_Variables Because I'm at it where do I find

Re: logging at startup

2004-11-12 Thread Arshavir Grigorian
Perrin Harkins wrote: On Wed, 2004-11-10 at 16:09, Arshavir Grigorian wrote: How can I write my code to know whether it is in a request and only if so, output the standard error page. You should be able to use $Apache::Server::Starting and $Apache::Server::ReStarting for this. There may b

Segmentation fault with mod_perl 1.29, Apache 1.3.33

2004-11-12 Thread Tim Evans
I've done a simple build (perl Makefile.PL USE_DSO=1) of version 1.29 with Apache 1.3.33. System is RH Linux 7.1, kernel 2.2.22-7.0.2; perl is 5.8.5 On even the simplest web page, browser says "document contains no data." Apache's error_log says: [Thu Nov 11 10:02:19 2004] [notice] child pid

Re: Authentication using https

2004-11-12 Thread Martin Moss
Cheers Fellas, this was the bit I was concerned about. Apache::AuthCookie, looked a little bloated to me, however I'm a big fan of only inventying new types of wheels not old so I'll revisit... Regards Marty --- Michael J Schout <[EMAIL PROTECTED]> wrote: > On Wed, 10 Nov 2004, Skylos wrote: