Re: vhost and mod_perl

2001-05-11 Thread Bird Lei
I added $Apache::Registry::NameWithVirtualHost = 1; to my startup script, but the server still runs the wrong script. My startup.pl looks like this: - #!/usr/bin/perl use Apache::Registry; $Apache::Registry::NameWithVirtualHost = 1; - Any ideas? Bird At 10:13 PM 2001/5/7 -0700,

Regarding the PerlAuthenHandler

2001-05-11 Thread qazi Ahmed
Hi Guru's I am implementing NIS Authentication in my project. Using Apache1.3.19, modperl_1.25,perl 5.005_02. In httpd.conf when i try to put PerlRequire /eg/startup.pl PerlModule Apache::AuthenNIS Directory /home/guts AuthType Basic AuthName NIS Authentication PerlAuthenHandler

Re: Object - RDBMS mapping tools and mod_perl

2001-05-11 Thread Ray Zimmerman
At 12:03 AM -0400 5/11/01, Chris Winters wrote: SPOPS is built to map objects to relational databases, or other data stores. If you're just getting/setting object properties and persistence (create/update/fetch/remove) along with relationships among the objects, you don't even need to write any

Re: Cutting down on the DEBUG bloat...

2001-05-11 Thread barries
On Thu, May 10, 2001 at 03:28:16PM -0700, Doug MacEachern wrote: http://perl.apache.org/~dougm/condsub-0.01.tar.gz see test.pl for the examples. i'm open to names/interface changes I've had good luck (on non performance critical code) doing something like (from memory): use

Re: Regarding the PerlAuthenHandler

2001-05-11 Thread Owen Boyle
qazi Ahmed wrote: Syntax error on line 547 of /export/home/ats/test-tools/ats/guts/apache/conf/httpd.conf: Invalid command 'PerlRequire', perhaps mis-spelled or defined by a module not included in the server configuration Are you *really* sure you have installed mod_perl? Try ./httpd -l to

NTML authentication

2001-05-11 Thread Jonas Nordström
Is there a module that I can use to authenticate an LWP request to a site that uses NTLM authentication? I haven't found an LWP::Authen::NTLM ... /Jonas

Re: Object - RDBMS mapping tools and mod_perl

2001-05-11 Thread Chris Winters
* Ray Zimmerman ([EMAIL PROTECTED]) [010511 08:01]: Using Dave Rolsky's OO-RDBMS vs RDBMS-OO sort of description of Tangram and Alzabo, it sounds like SPOPS is more in the same category as Tangram, correct? That's correct. I think Tangram is more of a 'pure' object storage solution than

Pnotes not working

2001-05-11 Thread Mike Cameron
I am having trouble getting pnotes to work and wonder if there is something obvious I am missing. in PerlAuthenHandler I have gone back to the Apache man page and tried to recreate the example given there but to no avail. Below is the code: package My::User; sub handler{ my $r = new

Re: Object - RDBMS mapping tools and mod_perl

2001-05-11 Thread Dave Rolsky
On Fri, 11 May 2001, Chris Winters wrote: Anyone (including Chris) done a comparison of the two (SPOPS and Tangram) and willing to comment on strengths, weaknesses, differences, etc? That is an excellent idea and would be quite useful. I'll see what I can do in the (relatively) near

Re: perl-based authentication

2001-05-11 Thread Carey Burgess
Mark, I am by no means a mod_perl guru... and this may not solve your full problem... but, you could put something httpd.conf that says something like: if ($paid) then allow .htaccess files; else don't. In other words, AllowOverride AuthConfig if paid; else AllowOverride None. Something

Re: Regarding the PerlAuthenHandler[2]

2001-05-11 Thread Jeff Sheffield
You should see this one. Compiled-in modules: -- snip -- mod_perl.c see http://perl.apache.org/guide/install.html for how to build mod_perl against apache Jeff On Fri, May 11, 2001 at 04:50:21PM -, qazi Ahmed wrote: Hi.. When i am giving the command: ./httpd -l in the bin directory

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

2001-05-11 Thread G.W. Haywood
Hi there, On 11 May 2001, qazi Ahmed wrote: I am implementing NIS Authentication in a project. Using Apache1.3.19, modperl_1.25,perl 5.005_02 and libwww-perl package plus some more packages needed in my project. [snip] In httpd.conf when i try to put PerlRequire /eg/startup.pl

Re: perl-based authentication

2001-05-11 Thread will trillich
On Thu, May 10, 2001 at 11:50:31PM -0600, Mark Holt wrote: 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*. have you considered breaking up the apache instances, maybe? might be a bad idea, but i thot i'd

Re: modify Server header via a handler

2001-05-11 Thread Matt Sergeant
On Tue, 8 May 2001, Doug MacEachern wrote: On Wed, 2 May 2001, Matt Sergeant wrote: Right, but the problem is you can't do this after module initialization (which is where mod_perl adds it's bits), but the PerlModule's are loaded after that time, so you can't do it from Perl, at least

[OT] ideas on design of a diff monitor

2001-05-11 Thread Nick Tonkin
Hi all, I'm working on a tool that should compare two versions of a file (usually, a web page) and report the _number_ of changes from one to the other. I've played with Algorithm::Diff as well as standard diff and haven't found a really sane way to count changes. With Algorithm::Diff the

Re: mod_perl and 700k files...

2001-05-11 Thread Matt Sergeant
On Wed, 9 May 2001, Morbus Iff wrote: 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

Re: [OT] ideas on design of a diff monitor

2001-05-11 Thread Chris Strom
Nick Tonkin [EMAIL PROTECTED] writes: Hi all, I'm working on a tool that should compare two versions of a file (usually, a web page) and report the _number_ of changes from one to the other. I've played with Algorithm::Diff as well as standard diff and haven't found a really sane way to