Authentication question

2000-01-11 Thread Robert
Hi, I'm doing authentication against SQL database and then connecting the same database from the (embperl) page itself, but I cannot use Apache::DBI because there are several different databases running (with way too many connect strings to cache). Is there any (simple) way to reuse the db

RE: Authentication question

2000-01-11 Thread Gerald Richter
Is there any (simple) way to reuse the db handle from authentocation handler in serving the page? Is it possible to put the database handle in $r-pnotes? Or would the connection not survive that? That should work... Gerald

Bad server, Bad server, down boy! (was RE: Hey, that ain't tainted, is it?)

2000-01-11 Thread John Walker
Stas, Thanks for all your help. I think there is something different about my server too. I have no idea what it might be, but it really does look like there's something going on. Here's where I am at regarding testing and trying to track down the problem. (Aside from pulling my hair and

RE: Bad server, Bad server, down boy! (was RE: Hey, that ain't taint ed, is it?)

2000-01-11 Thread John Walker
-Original Message- From: Stas Bekman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 11, 2000 11:28 AM To: John Walker Cc: '[EMAIL PROTECTED]' Subject: Re: Bad server, Bad server, down boy! (was RE: Hey, that ain't taint ed, is it?) [...] I think it's your perl, try to rebuild

DDL load failure using Apache DBI

2000-01-11 Thread Rich Buckley
Hi, Platform: NT4SP5 Perl: 5_005_02 Apache: 1_3_3 ModPerl modperl-1_16 Can anyone advise on the following problem. In an attempt to use the DBI module to connect to an Oracle database from a modperl script, I get an error (from apache.exe on the server) indicating that the

RE: Bad server, Bad server, down boy! (was RE: Hey, that ain't t aint ed, is it?)

2000-01-11 Thread Stas Bekman
[root@melanie /root]# rpm -qa |grep perl mod_perl-1.19-2 perl-Devel-Symdump-2.00-3 perl-HTML-Parser-2.22-3 perl-libnet-1.0606-3 perl-libwww-5.43-3 perl-MIME-Base64-2.11-3 perl-MLDBM-2.00-3 perl-URI-1.02-3 perl-CPAN-Site-0.013-1 perl-5.00503-6 Why using RPMs for maintaining your Perl

Re: DDL load failure using Apache DBI

2000-01-11 Thread Jeffrey W. Baker
Rich Buckley wrote: Hi, Platform: NT4SP5 Perl: 5_005_02 Apache: 1_3_3 ModPerl modperl-1_16 Can anyone advise on the following problem. In an attempt to use the DBI module to connect to an Oracle database from a modperl script, I get an error (from apache.exe on the

RE: DDL load failure using Apache DBI

2000-01-11 Thread Rich Buckley
JWB wrote Check your environment's ORACLE_HOME variable. That is set OK, I can run a simple connect to database script from the command line with np. As a hack I moved the offending DLL into a directory on the path that was being searched, this managed to load the DLL ok but complained that

Has anyone tried mod_backhand?

2000-01-11 Thread Leslie Mikesell
Has anyone tried mod_backhand (in the apache module registry) in a front end apache proxying to multiple mod_perl'd back end servers? It claims to load balance, keeping track of the status and load of the back end servers, which also appear to need the module included. Is there a better free

IPC::ShareLite and garbage collection

2000-01-11 Thread Dave Hodson
I'm trying to implement IPC::ShareLite on a Red Hat Linux box. I've successfully stored/fetched the data I want between proc's, and am now attempting to "clean up" once the httpd is killed/restarted. Anyone has a good suggestion on how to do this? The POD for ShareLite doesn't address this

Re: Has anyone tried mod_backhand?

2000-01-11 Thread Jeffrey W. Baker
Leslie Mikesell wrote: Has anyone tried mod_backhand (in the apache module registry) in a front end apache proxying to multiple mod_perl'd back end servers? It claims to load balance, keeping track of the status and load of the back end servers, which also appear to need the module

RE: :ShareLite and garbage collection

2000-01-11 Thread Ian Mahuron
Does linux have ipcs, ipcrm, etc. for listing/killing IPC resources? I use FreeBSD so... If you're trying to do this programatically w/ perl then start reading through module sources. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dave Hodson Sent:

FAQ for NT mod_perl

2000-01-11 Thread Dickerson, Monty W.
Please point me to a FAQ document for running mod_perl with Apache/ActivePerl on Windows NT? thx.

Re: :ShareLite and garbage collection

2000-01-11 Thread Jeffrey W. Baker
Ian Mahuron wrote: Does linux have ipcs, ipcrm, etc. for listing/killing IPC resources? Yes.

Re: IPC::ShareLite and garbage collection

2000-01-11 Thread Mark Doyle
From: "Dave Hodson" [EMAIL PROTECTED] Date: 2000-01-11 09:12:32 -0500 I'm trying to implement IPC::ShareLite on a Red Hat Linux box. I've successfully stored/fetched the data I want between proc's, and am now attempting to "clean up" once the httpd is killed/restarted. Anyone has a good

Summary of DB_File locking wrappers

2000-01-11 Thread David Harris
There are three locking wrappers for DB_File in CPAN right now. Each one implements locking differently and has different goals in mind. It is therefore worth knowing the difference, so that you can pick the right one for your application. NOTE: It is imperative that if you are going to use

Re: Summary of DB_File locking wrappers

2000-01-11 Thread Perrin Harkins
David Harris wrote: There are three locking wrappers for DB_File in CPAN right now. Each one implements locking differently and has different goals in mind. It is therefore worth knowing the difference, so that you can pick the right one for your application. Good summary. Thanks! Note

Re: Memory leak/server crashes

2000-01-11 Thread James Furness
Why, reinvent the wheel? I wrote Apache::VMonitor (grab from CPAN) that does all this and more (all but tail -f) I use it all the time, saves me a lot of time, since I don't have to telnet! Ok - I will try to look into that when I get time. 2) Open up and hack Apache::SizeLimit and have

Re: Memory leak/server crashes

2000-01-11 Thread James Furness
I'm looking for some help getting apache to run reliably. Apache 1.3.9 with mod_perl 1.21 and Perl 5.005_03 is running on a dual P500 with 1 Gb of RAM running Redhat 6.1. We run about 5 sites off the box, most of which are fairly high traffic, and use a lot of CGI and MySQL 3.22.25 is

oracle : The lowdown

2000-01-11 Thread John Armstrong
Hello all- I just got the word from down high that VC's will freak out if they see we are using mysql and now we are looking at an Oracle solution. The product is a mid level mod perl application that will receive ~500,000 hits a day. I want to engineer it to withstand up to

Re: mysql.pm on Apache/mod_perl/perl win98

2000-01-11 Thread Tim Tompkins
There is a DBD::mysql available from ActiveState. You can install it with ppm. ppm install DBD-mysql Thanks, Tim Tompkins -- Programmer / IS Technician http://www.arttoday.com/ - Original Message - From: dave_dunstan [EMAIL PROTECTED] To:

Re: FAQ for NT mod_perl

2000-01-11 Thread Aaron Johnson
mod_perl currently does not run with ActivePerl. I believe the current status of the patch is it compiles, but does not run. Aaron Johnson "Dickerson, Monty W." wrote: Please point me to a FAQ document for running mod_perl with Apache/ActivePerl on Windows NT? thx.

RE: Perl info()

2000-01-11 Thread Berghold, Peter
Version is easy. Run perl -v. Peter L. Berghold Lehman Brothers Unix Engineering Unix Architect VOX: (201) 524-5018 [EMAIL PROTECTED] Australian Cattle Dog Philosophy: "Seize the Cow! Bite the Day!" -Original Message- From: Dave Reinhardt [SMTP:[EMAIL PROTECTED]]

RE: mysql.pm on Apache/mod_perl/perl win98

2000-01-11 Thread dave_dunstan
Thanks for all the info. I'm multitasking a little too much right now so I haven't been able to give any feedback on -your- feedback yet! dd -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Tim Tompkins Sent: Monday, January 10, 2000 10:58 AM To:

Re: oracle : The lowdown

2000-01-11 Thread Jeff Warner
Title: Re: oracle : The lowdown We were a mySQL shop. We replaced mySQL with Oracle8i/mod_perl and and Apache::DBI. Works great, once it is all setup. Our overall processing is faster with Oracle too. The lack of transactions and views put an immediate end of mySQL once we got into the

Re: oracle : The lowdown

2000-01-11 Thread Matt Sergeant
On Tue, 11 Jan 2000, John Armstrong wrote: Hello all- I just got the word from down high that VC's will freak out if they see we are using mysql and now we are looking at an Oracle solution. The product is a mid level mod perl application that will receive ~500,000 hits a

Re: oracle : The lowdown

2000-01-11 Thread Mark Wagner
Hello all- I just got the word from down high that VC's will freak out if they see we are using mysql and now we are looking at an Oracle solution. (Um, are these VC's in a position to make an informed decision about which RDBMS to use? What happens when they say "use foo" when foo

RE: oracle : The lowdown

2000-01-11 Thread David Harris
Jeff Warner wrote: We were a mySQL shop. We replaced mySQL with Oracle8i/mod_perl and and Apache::DBI. Works great, once it is all setup. Our overall processing is faster with Oracle too. The lack of transactions and views put an immediate end of mySQL once we got into the details

Re: oracle : The lowdown

2000-01-11 Thread Michael
On Tue, 11 Jan 2000, John Armstrong wrote: Hello all- I just got the word from down high that VC's will freak out if they see we are using mysql and now we are looking at an Oracle solution. The product is a mid level mod perl application that will receive ~500,000 hits

RE: oracle : The lowdown

2000-01-11 Thread John Armstrong
On this thread, I am seeing a lot of things in the archives hinting at issues and problems with Apache::Session ( DBI usage ) and high end DB's like Oracle and SyBase. What sort of success is anyone seeing using Oracle/SyBase with Apache::Session. Apache::Session in a DBI context is crucial

RE: oracle : The lowdown

2000-01-11 Thread Ian Mahuron
From past experiences I'll tell you that PostgreSQL is *dog slow*! We had a search engine with about 10,000 entries in it that was being run on MySQL, moved it to PostgreSQL and *bam*.. even with proper indexing limiting queries, it took 2-5 seconds to execute a simple query (server was load

Re: oracle : The lowdown

2000-01-11 Thread Jeffrey W. Baker
David Harris wrote: Jeff Warner wrote: We were a mySQL shop. We replaced mySQL with Oracle8i/mod_perl and and Apache::DBI. Works great, once it is all setup. Our overall processing is faster with Oracle too. The lack of transactions and views put an immediate end of mySQL

Re: oracle : The lowdown

2000-01-11 Thread Jeff Groves
Take a look at Frontbase www.frontbase.com From what I can see, it does everything that Oracle or Sybase can do and is much more reasonable in price. They're a small company and the support has been excellent. We've outgrown MySQL and are planning to use Frontbase to replace it. At 01:08 PM

Re: perl -V ??

2000-01-11 Thread Steve van der Burg
perl -V got me the following, BUT how do I tell if Perl modules: Digest::MD5, Crypt::DES, Crypt::CBC are installed? # perl -V [snipped] You can poke around in under the directories mentioned by @INC in the perl -V output, or you can do things like: % perl -MDigest::MD5 -le 'print

Re: oracle : The lowdown

2000-01-11 Thread Jeffrey W. Baker
John Armstrong wrote: On this thread, I am seeing a lot of things in the archives hinting at issues and problems with Apache::Session ( DBI usage ) and high end DB's like Oracle and SyBase. What sort of success is anyone seeing using Oracle/SyBase with Apache::Session. Apache::Session in

RE: perl -V ??

2000-01-11 Thread Tobias Hoellrich
This one does the "funky" thing :-) foreach ("Digest::MD5","Crypt::DES",Crypt::CBC"); eval "use $_;"; if ($@) { print "Can't locate module $_\n"; } else { print "Found module $_\n"; } } Tobias At 04:20 PM 1/11/00 -0500, Berghold, Peter wrote: I saw a code

Re: IPC::ShareLite and garbage collection

2000-01-11 Thread Sam Tregar
On Tue, 11 Jan 2000, Dave Hodson wrote: I'm trying to implement IPC::ShareLite on a Red Hat Linux box. I've successfully stored/fetched the data I want between proc's, and am now attempting to "clean up" once the httpd is killed/restarted. Anyone has a good suggestion on how to do this?

Re: oracle : The lowdown

2000-01-11 Thread Bill
David Harris wrote: What about PostgreSQL (www.postgresql.org)? It looks like it has transaction management (commit, rollback) with the whole concurrency control thing. I don't know if has views. I've got a small project that I am figuring on using PostgreSQL for, so I'm curious to hear

Re: Summary of DB_File locking wrappers

2000-01-11 Thread Stas Bekman
There are three locking wrappers for DB_File in CPAN right now. Each one implements locking differently and has different goals in mind. It is therefore worth knowing the difference, so that you can pick the right one for your application. Good summary. Thanks! Note that you could

Re: oracle : The lowdown

2000-01-11 Thread Tim Bunce
On Tue, Jan 11, 2000 at 01:20:21PM -0800, Jeffrey W. Baker wrote: Unfortunately, Oracle support is an ongoing criminal enterprise. Unless you have the most expensive of all of their support contracts, and a former Oracle VP on your staff, you will not get any support period. If you

Re: Summary of DB_File locking wrappers

2000-01-11 Thread Perrin Harkins
On Tue, 11 Jan 2000, Stas Bekman wrote: There are three locking wrappers for DB_File in CPAN right now. Each one implements locking differently and has different goals in mind. It is therefore worth knowing the difference, so that you can pick the right one for your application.

Re: oracle : The lowdown

2000-01-11 Thread Joshua Chamas
John Armstrong wrote: Hello all- I just got the word from down high that VC's will freak out if they see we are using mysql and now we are looking at an Oracle solution. The product is a mid level mod perl application that will receive ~500,000 hits a day. I want to

RE: oracle : The lowdown

2000-01-11 Thread Ian Mahuron
Joshua but if you don't need transactions, go with MySQL... Or sub-selects.. I can't live without sub-selects!

RE: oracle : The lowdown

2000-01-11 Thread Autarch
On Tue, 11 Jan 2000, David Harris wrote: This link was just posted to the IMP list a couple min ago: "Low-Cost Unix Database Differences" http://www.toodarkpark.org/computers/dbs.html Stas, this might be a good link to drop somewhere in the guide. This is probably getting pretty

File upload bug in libapreq

2000-01-11 Thread Jim Winstead
There appears to be a file upload bug in libapreq that causes httpd processes to spin out of control. There's a mention of this in the mailing list archives with a patch that seems to be a partial solution, but we're still seeing problems even with the patch I've attached. They appear to get

Re: File upload bug in libapreq

2000-01-11 Thread Roger Grayson
I encountered this a month or so ago and took the easy way out by using CGI.pm instead of libapreq in my file upload script. This probably doesn't help, but I only noticed the problem on big file uploads (10+ megs) The initial effect was huge - the size of the process that handled the upload

Re: perl -V ??

2000-01-11 Thread G.W. Haywood
Hi there, On Tue, 11 Jan 2000, Dave Reinhardt wrote: perl -V got me the following, BUT how do I tell if Perl modules: Digest::MD5, Crypt::DES, Crypt::CBC are installed? Have a look at the http://perl.apache.org.guide. Amongst other things, `perl.pod' (part of the Guide) mentions the use of

Re: oracle : The lowdown

2000-01-11 Thread G.W. Haywood
Hi all, On Tue, Jan 11, 2000 at 01:20:21PM -0800, Jeffrey W. Baker wrote: Unfortunately, Oracle support is an ongoing criminal enterprise. Unless you have the most expensive of all of their support contracts, and a former Oracle VP on your staff, you will not get any support period. If you

Re: oracle : The lowdown

2000-01-11 Thread Tim Bunce
On Tue, Jan 11, 2000 at 02:50:52PM -0800, Ian Mahuron wrote: Joshua but if you don't need transactions, go with MySQL... Or sub-selects.. I can't live without sub-selects! Sub-selects are high on the to-do list, and the rate that they're advancing MySQL they'll be available quite soonish.

Apache::Registry and -M

2000-01-11 Thread Bill Moseley
From my quick look at Registry.pm it looks like there's no way to disable the feature where a script will be re-compiled if it changes on disk. Is this correct? This is a problem if I update both the main script, and modules used by the script. For example, adding a new subroutine to a module

Is there a generic apache mailing list?mod_proxy problems

2000-01-11 Thread CAMERON, CRAIG
Hi, I'm having some problems with other modules in Apache, in particular the mod_proxy module. It appears to strip non-standard headers from requests as they pass through the proxy. This is bad. Can anyone help me? Thank you Craig

Apache::ASP internal.lock error

2000-01-11 Thread Dmitry Beransky
Hi, A few hours ago, my server started threashing and I had to restart httpd. When I looked at the error log, it was full of messages like those few below. Any ideas what might have caused this? Regards Dmitry Beransky ... [Tue Jan 11 19:24:50 2000] [error] [asp] [4926] [error] Can't unlock

Re: Apache::ASP internal.lock error

2000-01-11 Thread Joshua Chamas
Dmitry Beransky wrote: Hi, A few hours ago, my server started threashing and I had to restart httpd. When I looked at the error log, it was full of messages like those few below. Any ideas what might have caused this? Regards Dmitry Beransky ... [Tue Jan 11 19:24:50 2000] [error]

Re: Apache::ASP internal.lock error

2000-01-11 Thread Joshua Chamas
Dmitry Beransky wrote: Hi, A few hours ago, my server started threashing and I had to restart httpd. When I looked at the error log, it was full of messages like those few below. Any ideas what might have caused this? A common reason for a mod_perl server to be thrashing is that the

Re: Apache::ASP internal.lock error

2000-01-11 Thread Dmitry Beransky
Joshua, Thanks for the advice. I thought Apache::ASP was the cause of thrasing, but you're right, the locking problem must be have been caused by an overgrown swap file. I don't know what might have caused it. I just rolled out the server (it's my first), today was the first day of classes

Re: mysql.pm on Apache/mod_perl/perl win98

2000-01-11 Thread Jochen Wiedmann
dave_dunstan wrote: Do I really have to compile my own mysql.pm to get this to work? I don't have VC++! I guess I could get it ... The DBD::mysql driver (like most other database drivers) consists of two parts: A Perl part and a C part. If you aren't using ActivePerl (which isn't working

Help

2000-01-11 Thread Akio
I´m programming in mod_perl and I'm trying to use libapreq-0.31 but when I call method new, I get the msg "Can't locate object method "new" via package "Apache::Request"". The package (module) that use it has a statement "use Apache::Request ( )" and the next statement is : my $r=

Patch to Apache::RedirectFixLog in mod_perl-1.21

2000-01-11 Thread David D. Kilzer
Hi, The patch below fixes a problem in Apache::RedirectFixLog when the URI being logged required use of a filename listed the DirectoryIndex directive. The solution is described in the following post by Doug MacEachern to the modperl list in 1998.

Apache::ASP

2000-01-11 Thread don Wang
Help! I have tried unsucessfully to set up an Apache server with ASP functionality. According to instructions I got when downloading ASP.pm modules from perl.com. It did not work. After seemingly successful installation, I tried various ways to modify httpd config files, and the asp (most

Re: Apache::Registry and -M

2000-01-11 Thread Michael Hall
On Tue, Jan 11, 2000 at 05:18:00PM -0800, Jeffrey W. Baker wrote: From my quick look at Registry.pm it looks like there's no way to disable the feature where a script will be re-compiled if it changes on disk. Is this correct? This is a problem if I update both the main script, and