Re: capturing subrequest output (have things changed)

2001-05-10 Thread araman
Hi James Thanks for the suggestion but a code snippet will really help since i am a complete new bie out here.. Thanks Anand On Tue, May 08, 2001 at 01:53:48PM -0500, James G Smith wrote: Anand Raman [EMAIL PROTECTED] wrote: hi guys I just started off using modperl so excuse me if this has

mod_perl and 700k+ files?

2001-05-10 Thread Morbus Iff
Hey there, wondering if anyone could help me with this. I'm relatively new to mod_perl... I've got a 700k file that is loaded each time I run a CGI script, so I'm hoping to cache the file using mod_perl somehow. The file will change occasionally (maybe once a week) - the reload of a few

crash on exit with -X

2001-05-10 Thread Greg Wilson
Hi. We're getting a segfault when httpd shuts down when using mod_perl on Red Hat 6.2, and I'd like to know whether anyone else has seen this as well. If I run httpd -X -f /home/gvwilson/httpd.conf under gdb, the stack trace is: #0 0x4000af21 in _dl_debug_state () at dl-debug.c:56 #1

installating mod_perl-1.25/apache_1.3.19/perl 5.005_02/solaris 5.6

2001-05-10 Thread qazi Ahmed
Hi. I have been trying to install mod_perl from past one day but am turning up with no results. The source configuration part of the installation is working fine, perl Makefile.PL APACHE_SRC=../apache_1.3.19/src DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 but when trying to build, i am getting the

a module to allow a windows user to manage per-directory access rights

2001-05-10 Thread Louis-David Mitterrand
Hello, Is there a mod_perl module or Mason component (best) somewhere that would allow a non-technical user to manage Apache per-directory access rights (basic auth or otherwise) from a web interface? Thanks in advance, -- OENONE: Songez-vous qu'en naissant mes bras vous ont reçue ?

Re: crash on exit with -X

2001-05-10 Thread G.W. Haywood
Hi there, On Wed, 9 May 2001, Greg Wilson wrote: Hi. We're getting a segfault when httpd shuts down when using mod_perl on Red Hat 6.2 [snip] perl -V gives: Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration: Platform: osname=linux, osvers=2.2.5-22smp,

Re: installating mod_perl-1.25/apache_1.3.19/perl 5.005_02/solaris 5.6

2001-05-10 Thread G.W. Haywood
Hi there, On 10 May 2001, qazi Ahmed wrote: but when trying to build, i am getting the errors like: make[5]: warning: Clock skew detected. Your build may be incomplete Have you checked your system clock? Do you really mean 5.005_02? 73, Ged.

Re: mod_perl and 700k files...

2001-05-10 Thread Morbus Iff
The above code asigns a signal handler for the USR2 signal. This signal has been chosen because it's least likely to be used by the other parts of the server. That, unfortunately doesn't tell me what causes a USR2 signal to be sent to Apache. Or when it's caused. I only want to

Re: mod_perl and 700k files...

2001-05-10 Thread Dave Hodgkinson
Morbus Iff [EMAIL PROTECTED] writes: Well, it's a big deal if you've no in with the place you're webhosting with, sure... No one wants to be told that some lowly customer wants to restart the server that's running 200 other vhosts... Granted, I work at the damn webhost, but it's gotten to

Apache Oracle and Perl

2001-05-10 Thread Harnish, Joe
Title: Apache Oracle and Perl When I start getting this error, I can shutdown the httpd server, and the machine and it will still give this error. If I wait a while(sometimes hours, sometimes days) it will come back. Sometimes it is a few hours. Sometimes it is days. I have installed

Re: Apache Oracle and Perl

2001-05-10 Thread Robert Landrum
At 8:34 AM -0400 5/10/01, Harnish, Joe wrote: When I start getting this error, I can shutdown the httpd server, and the machine and it will still give this error. If I wait a while(sometimes hours, sometimes days) it will come back. Sometimes it is a few hours. Sometimes it is days. I have

Object - RDBMS mapping tools and mod_perl

2001-05-10 Thread Ray Zimmerman
I'm looking for a good package to use for Object - RDBMS mapping in the context of mod_perl and Mason. Something that will handled object inheritance and nested objects, etc. I'm aware of Tangram, Alzabo and SPOPS (not sure all these do what I need) ... are there any others? Any particular

Re: [Mason] Object - RDBMS mapping tools and mod_perl

2001-05-10 Thread Dave Rolsky
On Thu, 10 May 2001, Ray Zimmerman wrote: I'm aware of Tangram, Alzabo and SPOPS (not sure all these do what I need) ... are there any others? Any particular reasons why any of these may not play with with mod_perl/Mason? Well, I wrote Alzabo and it plays just fine with mod_perl and Mason.

Re: install perl-win32-bin-0.6.exe on win98

2001-05-10 Thread David Lanzarote García
Is there a message after the cannot load /apache/modules/ApacheModulePerl into server: indicating why the module can't be loaded? I'm afraid nothing else appears after this line to indicate which can be the problem... Apache is on c:\Apache, perl is on c:\perl, ApacheModulePerl.dll is on

Re: Object - RDBMS mapping tools and mod_perl

2001-05-10 Thread Nathan Stitt
Ray Zimmerman wrote: I'm looking for a good package to use for Object - RDBMS mapping in the context of mod_perl and Mason. Something that will handled object inheritance and nested objects, etc. One that I've been meaning to try out when I get a chance is GOODS at:

Re: mod_perl and 700k files...

2001-05-10 Thread G.W. Haywood
Hi there, On Thu, 10 May 2001, Morbus Iff wrote: You didn't search the guide, even if you try to make everyone believe that Sigh. What the frel is your problem, binky? Stas' problem, which apparently your researches have not discovered, is that he WROTE the guide and when somebody starts

Re: Re: installating mod_perl-1.25/apache_1.3.19/perl 5.005_02/solaris 5.6

2001-05-10 Thread G.W. Haywood
Hi there, On 10 May 2001, qazi Ahmed wrote: I dont have any idea regarding the clock skew detected error. In this case it just means that 'make' has noticed something odd about the various dates and times in your system. It is very important for several reasons that you keep the computer

avoiding authentication w/ mod_perl

2001-05-10 Thread Mark Holt
Hi, I am running a hosting service, and I use mod_perl to filter pages and add banners. For my paid users, I would like to offer the option of using .htaccess files for password protection, but I can't afford to check these files on every hit, only hits to paid sites. I can determine if the

Re: mod_perl and 700k files...

2001-05-10 Thread Morbus Iff
Sigh. What the frel is your problem, binky? Stas' problem, which apparently your researches have not discovered, is that he WROTE the guide and when somebody starts spamming fifteen hundred mailboxes because he didn't read it he's understandably a little irritated. Oh, no, don't get me

Re: Apache Oracle and Perl

2001-05-10 Thread G.W. Haywood
Hi there, On Thu, 10 May 2001, Harnish, Joe wrote: When I start getting this error, I can shutdown the httpd server, and the machine and it will still give this error. If I wait a while(sometimes hours, sometimes days) it will come back. Sometimes it is a few hours. Sometimes it is days.

Re: mod_perl and 700k files...

2001-05-10 Thread G.W. Haywood
Hi there, On Thu, 10 May 2001, Morbus Iff wrote: I hope ya understand. Well, I hope we've all got that off our chests. Now, have you got enough to get you going OK? 73, Ged.

Re: mod_perl and 700k files...

2001-05-10 Thread Morbus Iff
I hope ya understand. Well, I hope we've all got that off our chests. I'm really hoping so - I *hate* this sort of stuff. Now, have you got enough to get you going OK? I'm thinking I do, yes. Thanks for asking. Morbus Iff .sig on other machine. http://www.disobey.com/

RE: Apache Oracle and Perl

2001-05-10 Thread Rob Bloodgood
When I start getting this error, I can shutdown the httpd server, and the machine and it will still give this error. If I wait a while(sometimes hours, sometimes days) it will come back. Sometimes it is a few hours. Sometimes it is days. I have installed Apache::DBI in hopes of a possible

Re: Re: installating mod_perl-1.25/apache_1.3.19/perl 5.005_02/solaris 5.6

2001-05-10 Thread Paul Lindner
On Thu, May 10, 2001 at 07:51:05PM +0100, G.W. Haywood wrote: Hi there, On 10 May 2001, qazi Ahmed wrote: I dont have any idea regarding the clock skew detected error. In this case it just means that 'make' has noticed something odd about the various dates and times in your system.

Re: avoiding authentication w/ mod_perl

2001-05-10 Thread John Saylor
Hi ( 01.05.10 13:07 -0600 ) Mark Holt: For my paid users, I would like to offer the option of using .htaccess files for password protection, but I can't afford to check these files on every hit, only hits to paid sites. I can determine if the user is paid with a couple of lines of perl, but

Where exactly is the Perl interpreter?

2001-05-10 Thread Issac Goldstand
I was just wondering- where exactly is the Perl interpreter in mod_perl 1.25 (for Apache 1.3) and where will it be in mod_perl 2 (Apache 2.0)? I assume in Apache 1.3 it's in shared memory, but I want to double check... Issac Internet is a wonderful mechanism for making a fool ofyourself

looking for a functin to move %fdat to the symbol table..

2001-05-10 Thread jason n perkins
php has a function called extract which takes an array (no distinction between arrays and hashes in php. in this case in perl, it'd actually be a hash). extract takes the key values of the array (and optionally prepends a user specified prefix to each of the values to avoid clobbering other

Re: Where exactly is the Perl interpreter?

2001-05-10 Thread Jeffrey W. Baker
On Thu, 10 May 2001, Issac Goldstand wrote: I was just wondering- where exactly is the Perl interpreter in mod_perl 1.25 (for Apache 1.3) and where will it be in mod_perl 2 (Apache 2.0)? I assume in Apache 1.3 it's in shared memory, but I want to double check... This depends strongly on

Re: looking for a functin to move %fdat to the symbol table..

2001-05-10 Thread Joshua Chamas
jason n perkins wrote: php has a function called extract which takes an array (no distinction between arrays and hashes in php. in this case in perl, it'd actually be a hash). extract takes the key values of the array (and optionally prepends a user specified prefix to each of the values to

Re: looking for a functin to move %fdat to the symbol table..

2001-05-10 Thread Perrin Harkins
It's not hard to do, but it is potentially dangerous since you could overwrite globals like $/ and change the behavior of your program. In general, it's best to avoid cluttering the symbol table. - Perrin

Re: Cutting down on the DEBUG bloat...

2001-05-10 Thread Doug MacEachern
On Tue, 10 Apr 2001, Paul Lindner wrote: Hi, As part of my ongoing effort to streamline my mod_perl apps, I've come to discover the joy of constant subroutines and perl's ability to inline or eliminate code at compile time. I have a solution that works, but would be interested in seeing

Re: mod_perl and 700k files...

2001-05-10 Thread Perrin Harkins
on 5/9/01 5:45 PM, Morbus Iff at [EMAIL PROTECTED] wrote: Keep in mind, if you load this data during startup (in the parent) it will be shared, but reloading it later will make a separate copy in each child, chewing up a large amount of memory. You might have better luck using dbm That is

8-bit characters and mod_perl/Apache-ASP

2001-05-10 Thread Carl Lipo
Im having an odd (and annoying) problem with text data being returned via Oracle::DBD (10.7) to an Apache::ASP (2.09) script. Essentially, perl that returns perfectly valid characters in both cgi and as a .pl file fails to return valid characters in the context of an Apache::ASP file. The issue,

Re: 8-bit characters and mod_perl/Apache-ASP

2001-05-10 Thread Joshua Chamas
Difference like this, where cgi perl scripts work fine, but mod_perl/ASP doesn't, often has to do with %ENV where mod_perl is concerned. This is because Apache clears %ENV. The best way I have found to know what is in your %ENV for Oracle connections is to explicitly set it before the connect

Re: Cutting down on the DEBUG bloat...

2001-05-10 Thread barries
On Thu, May 10, 2001 at 03:28:16PM -0700, Doug MacEachern wrote: On Tue, 10 Apr 2001, Paul Lindner wrote: DBG debug('whoa there boy'); FWIW, you may find the opcode-identical debug 'whoa there boy' if DBG ; more readable. Don't go to values other than 0 or 1 (not even 0 or 1) for

Re: Where exactly is the Perl interpreter?

2001-05-10 Thread Stas Bekman
On Thu, 10 May 2001, Jeffrey W. Baker wrote: On Thu, 10 May 2001, Issac Goldstand wrote: I was just wondering- where exactly is the Perl interpreter in mod_perl 1.25 (for Apache 1.3) and where will it be in mod_perl 2 (Apache 2.0)? I assume in Apache 1.3 it's in shared memory, but I

Re: Object - RDBMS mapping tools and mod_perl

2001-05-10 Thread Chris Winters
* Ray Zimmerman ([EMAIL PROTECTED]) [010510 11:39]: I'm looking for a good package to use for Object - RDBMS mapping in the context of mod_perl and Mason. Something that will handled object inheritance and nested objects, etc. I'm aware of Tangram, Alzabo and SPOPS (not sure all these do

Re: [Mason] Object - RDBMS mapping tools and mod_perl

2001-05-10 Thread Chris Winters
* Dave Rolsky ([EMAIL PROTECTED]) [010510 12:43]: ... I think the author of SPOPS is also a mod_perl user (I'm pretty sure he's posted to the mod_perl list in the past) so I'd expect it to play nice. Mostly one of the 'silent majority', tho :-) (Plus, we met at last year's YAPC -- sheesh, the

perl-based authentication

2001-05-10 Thread Mark Holt
OK, let me be more specific. Here is the problem I face: Hosting of (potentially) millions of websites in a single framework. Clients are not given their own VirtualHost tag in the config file (there are too many), but instead their document root is derived from their hostname. Clients can

Re: looking for a functin to move %fdat to the symbol table..

2001-05-10 Thread Ken Williams
[EMAIL PROTECTED] (jason n perkins) wrote: php has a function called extract which takes an array (no distinction between arrays and hashes in php. in this case in perl, it'd actually be a hash). extract takes the key values of the array (and optionally prepends a user specified prefix to each of

Re: perl-based authentication

2001-05-10 Thread Stas Bekman
On Thu, 10 May 2001, Mark Holt wrote: [snipped the situation explanation] Now to my question: Is it possible, using mod_perl, to activate Apache's standard .htaccess-based authentication scheme on a per-hit basis, based on the results of perl code to determine whether the user is a paying

Re: perl-based authentication

2001-05-10 Thread Mark Holt
Not really, the current Apache doesn't let you decide on the fly whether to challenge the client with basic auth or not unless you use .htaccess. If I wrote my own PerlAuthHandler, could it then choose whether to pass through to the standard AuthHandler? .htaccess is not used only for

Re: perl-based authentication

2001-05-10 Thread Clayton Cottingham aka drfrog
hello is this not something like what Apache::AuthCookie or some other Auth scheme does? or am i just missing the boat? you could use something like AuthCookie in a dummy situation get $r-uri grab the .htaccess from that location and parse? Time Co-Ordinate Thu, 10 May 2001 23:16:29 -0600,

Re: perl-based authentication

2001-05-10 Thread Mark Holt
parsing the .htaccess files is what I'm trying to avoid. I want the standard apache module to do that. I just want to control *when*. Clayton Cottingham aka drfrog wrote: hello is this not something like what Apache::AuthCookie or some other Auth scheme does? or am i just missing the