Re: in window, mod perl 1, how to get time?

2002-12-16 Thread Ged Haywood
Hello there, On Sun, 8 Dec 2002, eric wrote: so how can I get the time display? in my .pl file, two lines as - my @time = time; print Right now, the elements of the time are: @time; Please read the email-etiquette document. It's on the

Problem compiling mod_perl 1.27 on Windows

2002-12-16 Thread Steve Hay
Hi, I'm having trouble compiling mod_perl 1.27 (with Apache 1.3.27 / Perl 5.8.0) on Windows (XP SP1 with MS VC++ 6.0 SP5). It builds fine with Perl 5.8.0 standard sources, but I'm just trying to upgrade my Perl to the slightly patched sources that ActivePerl Build 804 uses. I've built Perl

[mp1.0] DESTROY doesn't honor read-only flag (possible bug).

2002-12-16 Thread Jesse Williamson
Hello, We began to encounter some odd segfaults, and after poking through mod_perl believed that we have found the problem. The DESTROY() function in Table.xs is not honoring the read only flag in self, which would seem to be a bug. For reasons we are still trying to discover (;), it's being

RE: Perl Cookbook modperl chapter

2002-12-16 Thread Hill, Ronald
-Original Message- Grant McLean wrote: Nathan Torkington wrote: Current recipe list: [gnat:~] grep head1 Ora/pcb2/ch21.pod =head1 Introduction =head1 Authenticating in mod_perl =head1 Setting Cookies in mod_perl =head1 Accessing Cookie Values from mod_perl

Re: Perl Cookbook modperl chapter

2002-12-16 Thread Stas Bekman
Hill, Ronald wrote: -Original Message- Grant McLean wrote: Nathan Torkington wrote: Current recipe list: [gnat:~] grep head1 Ora/pcb2/ch21.pod =head1 Introduction =head1 Authenticating in mod_perl =head1 Setting Cookies in mod_perl =head1 Accessing Cookie Values from mod_perl

When perl is not quite fast enough

2002-12-16 Thread Stas Bekman
While reading Mark Fowler excelent Perl Advent Calendar (http://www.perladvent.org/2002/) 6th entry: http://www.perladvent.org/2002/6th/, in the references section I've noticed a link to Nicolas Clark's notes from his YAPC::EU::2002 presentation, on how to make your perl code faster:

Re: Perl Cookbook modperl chapter

2002-12-16 Thread Gunther Birznieks
Stas Bekman wrote: Hill, Ronald wrote: It's much simpler than that. You need two sentences: 1) under mod_perl, globals remember their values from the previous request, so you can cache the connection with: $dbh ||= myconnect(); But Apache::DBI implements pinging (immediate or timing

Re: Perl Cookbook modperl chapter

2002-12-16 Thread Stas Bekman
Gunther Birznieks wrote: Stas Bekman wrote: Hill, Ronald wrote: It's much simpler than that. You need two sentences: 1) under mod_perl, globals remember their values from the previous request, so you can cache the connection with: $dbh ||= myconnect(); But Apache::DBI implements

windows and apache/mod_perl?

2002-12-16 Thread Paul Simon
Is it worth installing apache 1.x and mod_perl 1.x on windows if apache2/mod_perl2/perl5.8 run on windows? Thanks

Re: When perl is not quite fast enough

2002-12-16 Thread Joe Schaefer
Stas Bekman [EMAIL PROTECTED] writes: [...] Me thinking to ask Nicolas to contribute these notes to our tutorial section (http://perl.apache.org/docs/tutorials/) and if possible to add some more meat to the original notes. If you remember our evil plan was to host at perl.apache.org

Re: Problem compiling mod_perl 1.27 on Windows

2002-12-16 Thread Randy Kobes
On Mon, 16 Dec 2002, Steve Hay wrote: Hi, I'm having trouble compiling mod_perl 1.27 (with Apache 1.3.27 / Perl 5.8.0) on Windows (XP SP1 with MS VC++ 6.0 SP5). It builds fine with Perl 5.8.0 standard sources, but I'm just trying to upgrade my Perl to the slightly patched sources that

Access to ap_send_fd_length in 1.0

2002-12-16 Thread Tom Murphy
I have a client for whom I manage documents, some of which are in pdf format. The documents are not in the web tree, and are served based on custom access etc., and some are encrypted on the files system. I am successfully do all this, and ultimately use send_fd to send the file(s). The client

Re: Problem compiling mod_perl 1.27 on Windows

2002-12-16 Thread Steve Hay
Randy Kobes wrote: On Mon, 16 Dec 2002, Steve Hay wrote: I'm having trouble compiling mod_perl 1.27 (with Apache 1.3.27 / Perl 5.8.0) on Windows (XP SP1 with MS VC++ 6.0 SP5). It builds fine with Perl 5.8.0 standard sources, but I'm just trying to upgrade my Perl to the slightly patched

Re: Access to ap_send_fd_length in 1.0

2002-12-16 Thread Geoffrey Young
Tom Murphy wrote: I have a client for whom I manage documents, some of which are in pdf format. The documents are not in the web tree, and are served based on custom access etc., and some are encrypted on the files system. I am successfully do all this, and ultimately use send_fd to send the

Re: Problem compiling mod_perl 1.27 on Windows

2002-12-16 Thread Randy Kobes
On Mon, 16 Dec 2002, Steve Hay wrote: Randy Kobes wrote: I've found the same thing - I believe it's because of the USE_LARGE_FILES support that ActivePerl 8xx has enabled, and this runs into a conflict with the standard Win32 apache-1 which doesn't have such support (in the above,

Re: windows and apache/mod_perl?

2002-12-16 Thread Randy Kobes
On Mon, 16 Dec 2002, Paul Simon wrote: Is it worth installing apache 1.x and mod_perl 1.x on windows if apache2/mod_perl2/perl5.8 run on windows? I guess it depends on what one is using it for ... For a development/learning system, the performance enhancements with apache2/modperl2 probably

Re: SSI Not Working Apache

2002-12-16 Thread Perrin Harkins
Martin Kuria wrote: mod_include is not included please do advice what do I need to have ssi to work please do help Hi Martin, This list is not for general Apache configuration questions. Please see http://httpd.apache.org/lists.html to find a more appropriate list to ask your question on.

RE: Cookie-free authentication

2002-12-16 Thread Ron Savage
On Fri, 13 Dec 2002 20:19:55 -0800 (PST), Bill Moseley wrote: Hi Bill On Sat, 14 Dec 2002, Ron Savage wrote: Under Apache V 1/Perl 5.6.0 I could not get the Apache::AuthCookieURL option working which munged URLs without requiring cookies. I thought the problem was that Apache::AuthCookie was

We need help from mod_perl users with technical expertise in non-mainstreamOSs

2002-12-16 Thread Stas Bekman
Here at the list we have a rather sucky trend in the last year or so. Those folks who report problems that they have on platforms that aren't *BSD, Linux and Win32 mostly get unasnwered. Doug, who seems to know about everything, used to respond to those souls, but nowadays he's too busy with