Re: [OT] auth modules

2000-07-20 Thread Matt Carothers
On Tue, 18 Jul 2000, martin langhoff wrote: The marketing dept here wants something really weird: they want to publish a datasheet in a 'protected' page, but the want the usr/pw hashes to be 'one time only'. So the user must be deleted after the first time it is used. That should be all

Re: best encryption module

2000-07-09 Thread Matt Carothers
On Fri, 7 Jul 2000, clayton cottingham aka drfrog wrote: whats the best encryption module for use with mod perl? i want to encrypt passwords store in a db and then be able to check what a users inputs against it Perl has a built-in crypt() function. The actual encryption algorithm used

Re: Problems with Apache::DBI

2000-06-12 Thread Matt Carothers
On Mon, 12 Jun 2000, Rob Tanner wrote: Believe it or not, it's the simplest task in the world. In startup.pl add the line "PerlModule Apache::DBI" You can either stick "PerlModule Apache::DBI" in your httpd.conf or add 'use Apache::DBI ();' to your startup.pl. Also, for mysql, you'll

Re: mod_perl and IPC

2000-05-23 Thread Matt Carothers
On Mon, 22 May 2000, DeWitt Clinton wrote: The problem had to do with large numbers of objects in the cache. ... Right now, things are in a holding pattern because I'm finding a limit on the number of objects I can put in the cache (less than 100, so it is an issue). Hopefully Sam will

Re: mod_perl and BSDi 4.1

2000-05-21 Thread Matt Carothers
On Fri, 19 May 2000, Russell Hay wrote: BSDi/4.1 ... cannot find libperl.so. Find the directory on your machine with libperl.so in it (probably /usr/libdata/perl5/i386-bsdos/5.00402/CORE or /usr/local/lib/perl5/5.00502/i386-bsdos/CORE/), add it to /etc/ld.so.conf, and run ldconfig. - Matt

Re: 2 server setup w/mod_proxy with a per-filename filter

2000-05-01 Thread Matt Carothers
On Mon, 1 May 2000, Martin A. Langhoff wrote: hi, I'm trying to implement a one light + one fat apache server setup and I'm .. wanting it to proxy everything that looks ~ \.pl$ See [EMAIL PROTECTED]">http://forum.swarthmore.edu/epigone/modperl/mimzhingleh/[EMAIL PROTECTED] for some

Re: perldo file -- does NOTHING

2000-04-22 Thread Matt Carothers
On Fri, 21 Apr 2000, w trillich wrote: the entire listing for startup.pl is: package Apache::ReadConfig; Apache-httpd_conf("Clavis"); Apache-httpd_conf("/Frammistat"); Apache-httpd_conf("Chibblewink 1/2%3'*"); Apache-httpd_conf("isn't this wonderful?");

Re: Implementing security in CGI

2000-04-22 Thread Matt Carothers
On Fri, 21 Apr 2000, Gunther Birznieks wrote: At 01:44 PM 4/20/00 -0500, Matt Carothers wrote: Another big win is that the secure token can persist across multiple servers. What would prevent the token from being across multiple servers otherwise? It's beneficial when compared

Re: Implementing security in CGI

2000-04-20 Thread Matt Carothers
On Thu, 20 Apr 2000, DeWitt Clinton wrote: 5) The secure token is associated on the server side (preferably on another tier, such as a database) with the user identification token. Additionally, to support secure session timeouts, the current time must be recorded. An easy way to

Re: [RFC] Do Not Run Everything on One mod_perl Server

2000-04-19 Thread Matt Carothers
On Tue, 18 Apr 2000, Stas Bekman wrote: Let's assume that you have two different sets of scripts/code which have a little or nothing in common at all (different modules, no base code sharing), the basic mod_perl process before the code have been loaded of three Mbytes and each code base

Re: front end proxy and virtual hosts

2000-04-15 Thread Matt Carothers
On Mon, 10 Apr 2000, Eric Cholet wrote: The front-end light server, serving static requests and proxying dynamic requests to a back-end modperl server, is well documented, except in the case of virtual hosts. How do you do it? On the front end: VirtualHost www.customer.com

Re: Sharing memory between Apache processes

2000-04-04 Thread Matt Carothers
On Tue, 4 Apr 2000 [EMAIL PROTECTED] wrote: A good package for this is IPC::Shareable. You can store info in semaphores and share it between processes. Except that I don't think you can you use shared memory (the semaphores are just flags) across multiple web servers, and I have been

Re: panic: POPSTACK, Callback called exit and Apache::Session'sdie seems to be resurrecting itself

2000-04-04 Thread Matt Carothers
On Tue, 4 Apr 2000, Sang Han wrote: Hi, Can someone help me out here? ... panic: POPSTACK Callback called exit. Something in your module is calling Perl's exit() instead of $r-exit. http:[EMAIL PROTECTED] - Matt

Re: Breaking single line into multiple lines in code

2000-04-03 Thread Matt Carothers
On Mon, 3 Apr 2000, Ravi Malghan wrote: system("echo \"update alerts.journal set Text1 = '$PING' where Serial = $ARGV[0];\ngo\nquit\n\" | /opt/Omnibus/bin/nco_sql -server NCOMS_DC1 -user root -passwd gtsgroup"); open(NCO, "|/opt/Omnibus/bin/nco_sql -server NCOMS_DC1 -user root

Re: dynamically output messages on browser.

2000-04-02 Thread Matt Carothers
On Sun, 2 Apr 2000, Hui Zhu wrote: I wrote perl script to out put messages. It is supposed to output one line per 4 seconds. But the server did not output the result per 4 seconds instead output all of results after 40 seconds Set $| = 1; OT: You can do neat stuff with $| = 1 and

Re: modperl/MySQL question

2000-02-11 Thread Matt Carothers
On Tue, 8 Feb 2000, Terry G Lorber II wrote: DBD::mysql::st execute failed: MySQL server has gone away at slashmod.pm line 23 [...] Is this a server problem, a perl problem, or a MySQL problem? Do I need to adjust a timeout setting somewhere? Sounds like you need Apache::DBI. 1) Enable