Re: [OT] flock under win32

2000-09-25 Thread Rodney Broom
Hi all, Here's my two cents worth (or less): Teijo Aulin I got the following error message: "flock() unimplemented on this platform... Teijo Aulin I see that flock() is not implemented under win 98, so how can I fix this? Matt Sergeant It can't ever be locked under Win9x because it doesn't

Apache::Request server error??

2000-09-25 Thread Sophokles Zafeiris
I' m trying to run the file_upload.pl. script, that can be found in the eg directory of the Apache::Request source file. I've installed the Apache::Request but I get the following server error : Can't locate object method "new" via package "Apache::Request" at

Re: Apache::Request server error??

2000-09-25 Thread Matthew Byng-Maddick
On Mon, 25 Sep 2000, Sophokles Zafeiris wrote: I' m trying to run the file_upload.pl. script, that can be found in the eg directory of the Apache::Request source file. I've installed the Apache::Request but I get the following server error : Can't locate object method "new" via package

Re: indexing and searching documents on your web server

2000-09-25 Thread T.J. Mather
If you want something controllable via mod_perl then there are a couple of things in the CPAN, under the DBIx hierarchy. If you're not bothered about direct control, then you should check out htDig. one of these is DBIx::FullTextSearch - it does require a MySQL database though. it offers

Re: [ANNOUNCE] new module ApacheBench

2000-09-25 Thread Stas Bekman
On Thu, 21 Sep 2000, Adi wrote: It took a little longer than planned, but here it is. It is a Perl API to the Apache ab tool. It took so long because we added a number of useful features, mainly the ability to benchmark sequences of URLs instead of just one. Very nice Adi! Before I

question: using Apache for non-HTML messages

2000-09-25 Thread B. Burke
I'm using Apache/1.3.11 with mod_perl/1.22 on an AIX platform to serve as an application server, with persistent ties into a MySQL database. My company is using an in-house socket API for data transfers. The request messages in our API are somewhat similiar to an HTML GET request, in that we

RE: [slightly OT] cache refusal problem with IE, http headers

2000-09-25 Thread Geoffrey Young
I know this thread is rather lengthy, and took a few turns along the way, but I ran across this link the other day and thought it might be of use for everyone on the list - it's an official explanation of how IE handlers caching via headers. there's also a few links in it that are worth noting

Re: [OT] flock under win32

2000-09-25 Thread Alexander Farber (EED)
http://www.activestate.com/Products/ActivePerl/docs/lib/Pod/perlport.html#item_flock flock FILEHANDLE,OPERATION Not implemented (Mac OS, VMS, RISC OS, VOS). Available only on Windows NT (not on Windows 95). (Win32) and there is also this note in the same document:

Why it prompt Multiple time for Authentication ???

2000-09-25 Thread Sambit Nanda
Hi perl Experts Here is the problem : 1. I am using Apache 1.3.11 + openssl + mod _ssl + mod _perl + mod_php on my web server 2. I have the Module Installed call "Authen::Smb" for Authentication with Win NT PDC from Apache . Problem : I do not understand Some time My web

RE: Why it prompt Multiple time for Authentication ???

2000-09-25 Thread Jerrad Pierce
This was covered previously, perhaps it should be covered in a FAQ? If your NT PDC is slow, occasionally an authentication attempt will take too long, and return a status, which the module mistakenly regards as an error and reprompts for authentication information -Original Message-

RE: Why it prompt Multiple time for Authentication ???

2000-09-25 Thread Christian Gilmore
Have you tried wrapping Apache::AuthenCache around Authen::Smb? It may help you out with the occasional communication issues with the backend PDC. Regards, Christian -Original Message- From: Jerrad Pierce [mailto:[EMAIL PROTECTED]] Sent: Monday, September 25, 2000 10:54 AM To:

RE: Accessing images from a different server

2000-09-25 Thread James Xie
I have similar configurations, this is what I did: Mount image directory on machine_b to /usr/local/apache/htdocs/images on machine_a, link image files as /image/.tif. -Original Message- From: Kairam, Raj [mailto:[EMAIL PROTECTED]] Sent: Monday, September 25, 2000 8:19 AM To:

Re: Apache::ASP rand, srand and fork...

2000-09-25 Thread Doug MacEachern
On Tue, 19 Sep 2000, Joshua Chamas wrote: Perhaps I should auto init srand() then for Apache::ASP to make sure that its happening post fork? Something like if(! DONE FOR CURRENT PID) { srand(); } For reproducability within Apache::ASP, all that has to happen is someone

Re: mod_perl guide corrections

2000-09-25 Thread Doug MacEachern
On 14 Sep 2000, Joe Schaefer wrote: 2) Apache::Request is better than your performance numbers indicate. The problem I have with your comparison with Apache::args vs Apache::Request vs CGI is that your benchmark code isn't fair. You're comparing method calls against hash-table lookups,

Re: Value of ErrorLog directive via mod_perl

2000-09-25 Thread Doug MacEachern
On 15 Sep 2000, Bjørn Ola Smievoll wrote: I need to retrieve the value of the ErrorLog directive (i.e. the path filename of the error_log), but I can't find a way to do it with mod_perl. (The C api equivalent is the error_fname field in the server_rec struct). this patch should work. can

Re: usemymalloc mod_perl

2000-09-25 Thread Doug MacEachern
On Sat, 16 Sep 2000, Ian Kallen wrote: I've seen some of the 'perl -V' outputs on this list over the years. Most people have usermymalloc=n but I've a seen a number of Solaris cases that have usemymalloc=y I have a system on Solaris 2.6 with usemymalloc=y and I have a very infrequent

Re: dir_config and Apache::Table confusion

2000-09-25 Thread Doug MacEachern
On 21 Sep 2000, Bjørn Ola Smievoll wrote: If I do this: $r-print($r-dir_config('key')); Then key is printed. If I then do this: my $tab = $r-dir_config; $r-print(Dumper($tab)); # Using Data::Dumper I get '$VAR1 = bless( {}, 'Apache::Table' )'; It's empty, how come?

Re: mod_perl guide corrections

2000-09-25 Thread Joe Schaefer
Doug MacEachern [EMAIL PROTECTED] writes: my $args = $q-param; # hash ref you mean parms() ? the Apache::Request::parms hash ref is tied, so there are still method calls, but less than calling params(), which does extra stuff to emulate CGI::params. I just looked at

Re: open(FH,'|qmail-inject') fails

2000-09-25 Thread Doug MacEachern
On Mon, 25 Sep 2000, Stas Bekman wrote: All you care about is to measure the time between email sending start and end (when the process continues on its execution flow). Why should one care about the details of internal implementation. i only skimmed the first part of this thread, but

Re: open(FH,'|qmail-inject') fails

2000-09-25 Thread Stas Bekman
On Mon, 25 Sep 2000, Doug MacEachern wrote: On Mon, 25 Sep 2000, Stas Bekman wrote: All you care about is to measure the time between email sending start and end (when the process continues on its execution flow). Why should one care about the details of internal implementation. i

Re: open(FH,'|qmail-inject') fails

2000-09-25 Thread Matt Sergeant
On Mon, 25 Sep 2000, Stas Bekman wrote: On Mon, 25 Sep 2000, Doug MacEachern wrote: On Mon, 25 Sep 2000, Stas Bekman wrote: All you care about is to measure the time between email sending start and end (when the process continues on its execution flow). Why should one care

Re: open(FH,'|qmail-inject') fails

2000-09-25 Thread Stas Bekman
On Mon, 25 Sep 2000, Matt Sergeant wrote: On Mon, 25 Sep 2000, Stas Bekman wrote: On Mon, 25 Sep 2000, Doug MacEachern wrote: On Mon, 25 Sep 2000, Stas Bekman wrote: All you care about is to measure the time between email sending start and end (when the process continues

Re: open(FH,'|qmail-inject') fails

2000-09-25 Thread Matthew Byng-Maddick
On Mon, 25 Sep 2000, Matt Sergeant wrote: On Mon, 25 Sep 2000, Stas Bekman wrote: On Mon, 25 Sep 2000, Doug MacEachern wrote: On Mon, 25 Sep 2000, Stas Bekman wrote: All you care about is to measure the time between email sending start and end (when the process continues on its

Re: question: using Apache for non-HTML messages

2000-09-25 Thread David Alan Pisoni
Really all you need to do is send your response back like you would any response, just without the HTML formatting. If you wanted to be a bit more "correct", you could change the content-type of the respose so that it is not 'text/html'. (In your case, you might just make one up like

Apache::Request-new() problem

2000-09-25 Thread Herrington, Jack
I have the same problem as one of the previous reporters with Apache::Request-new(). The problem occurs whether I call it after a 'use' or after a 'PerlModule' load. Perl returns the no 'new' method could be found for Apache::Request. My setup is: Apache 1.3.12 mod_perl 1.24 Perl 6.5 Redhat

cvs commit: modperl-site distributions.html

2000-09-25 Thread sbekman
sbekman 00/09/25 14:42:25 Modified:.distributions.html Log: ppm info by Randy/ better formatting Revision ChangesPath 1.10 +1 -3 modperl-site/distributions.html Index: distributions.html

RE: cvs commit: modperl/src/modules/perl mod_perl.h perl_config.c

2000-09-25 Thread Geoffrey Young
pardon my being away, but does this mean that the earlier (possible) fix Apache::ModuleConfig-get($r, __PACKAGE__) was not the cause of the error, or that it was and the __PACKAGE__ part is not necessary now? I was wondering whether to fix my calls for people who weren't up to cvs speed...