Magic number checking on storable error withApache::Session::MySQL

2003-07-10 Thread Dan McCormick
deleting it did not reproduce this error. Software specs: Apache 1.3.27 mod_perl 1.27 Apache::Session 1.54 MySQL 4.0.13 Thanks, Dan

install upgrade for mod_perl+apache 2.046 onto apache 2.044 question

2003-06-08 Thread dan martin
I have apache 2.044 installed on win2k. I want to install the mod_perl which comes with apache included (version 2.046).What do I need to do with the current 2.044 version before installing the new version? Do I uninstall it, stop it, or nothing?Once I install the new version what are the steps to

Re: Preloading DBI crashes Apache

2003-02-26 Thread Dan Brosemer
On Wed, Feb 26, 2003 at 11:45:32AM -0700, [EMAIL PROTECTED] wrote: On Wed, Feb 26, 2003 at 01:09:46AM -0500, Dan Brosemer wrote: Here's the thread to date: http://marc.theaimsgroup.com/?l=apache-modperlm=104586287823510w=2 helo; I am seeing problems with mod_perl in OpenBSD 3.2 chroot

Re: Preloading DBI crashes Apache

2003-02-25 Thread Dan Brosemer
Here's the thread to date: http://marc.theaimsgroup.com/?l=apache-modperlm=104586287823510w=2 On Sun, Feb 23, 2003 at 10:27:22AM -0500, Dan Brosemer wrote: On Sun, Feb 23, 2003 at 04:35:39AM -0800, Ask Bjoern Hansen wrote: Hi. I'm new here, and hoping someone can help me. I've installed

Re: Preloading DBI crashes Apache

2003-02-23 Thread Dan Brosemer
On Sun, Feb 23, 2003 at 04:35:39AM -0800, Ask Bjoern Hansen wrote: On Fri, 21 Feb 2003, Dan Brosemer wrote: Hi. I'm new here, and hoping someone can help me. I've installed the latest -current version of OpenBSD, and loaded mod_perl as a DSO. That gets me Apache 1.3.27, Perl 5.8.0

Re: Preloading DBI crashes Apache

2003-02-23 Thread Dan Brosemer
On Sun, Feb 23, 2003 at 04:26:51PM +0100, Dr. Helmut Zeilinger wrote: Hi Dan, i had a similar problem with DBI. Did you reinstall (recompile) the DBI module after you installed Perl 5.80 from a previous Perl version (and maybe all DBD drivers)? No. This was a fresh install of OpenBSD 3.3

Preloading DBI crashes Apache

2003-02-21 Thread Dan Brosemer
at my wit's end, so any help would be greatly appreciated. I've pased a backtrace from 'httpd -X' and the script I've been using to test. Thanks in advance for any help. -Dan These are taken using DBD::mysql. I'd be happy to provide backtraces using other modules if they'd be useful

PATCH Apache::Status.pm

2002-09-24 Thread Dan Sully
This makes the syntax tree dump work for Apache::Status --- lib/Apache/Status.pm.orig Tue May 28 09:33:28 2002 +++ lib/Apache/Status.pmTue Sep 24 12:09:56 2002 -345,6 +345,7 sub noh_b_terse { my $r = shift; +return unless eval { require B::Terse };

Purify, Perl and mod_perl

2002-07-16 Thread Carwheel, Dan
. My question is this...can I run my application using this purified perl under mod_perl to track down potential memory leaks and other problems? Are there any issues with running Perl for testing with Purify on a mod_perl enabled webserver? Thanks for the advice. --Dan

RE: Purify, Perl and mod_perl

2002-07-16 Thread Carwheel, Dan
I understand. But, given a new 'purified' perl binary I could build using Purify, would it allow me to diagnose or trace memory leaks back to my Perl code? I'm asking from a theoretical basis here, since I agree with you, I doubt I have any memory leaks. Thanks. --Dan -Original Message

Re: What causes memory leaks during graceful restarts?

2002-05-22 Thread Dan Wilga
At 6:56 PM -0700 5/21/02, Doug MacEachern wrote: On Tue, 21 May 2002, Dan Wilga wrote: I am using Perl 5.6.1, modperl 1.25, and yes it's a DSO. It's compiled with: with 1.25, you can also set the PERL_DESTRUCT_LEVEL environment variable to 2, either before starting the server: export

Re: What causes memory leaks during graceful restarts?

2002-05-22 Thread Dan Wilga
At 8:41 AM -0700 5/22/02, Doug MacEachern wrote: On Wed, 22 May 2002, Dan Wilga wrote: Interesting. When I do that, I get the same problem I did when I tried to run with 1.25_01 and 1.26: Apache core dumps. I think I'll have to try compiling it again with the latest version of mod_perl

What causes memory leaks during graceful restarts?

2002-05-21 Thread Dan Wilga
being run, beyond initialization. (I use a PerlRequire to load a bunch of libraries at startup.) Are there any FAQs that address the reason for such large leakage? Or is this just an unavoidable problem with graceful restarts? Dan Wilga [EMAIL PROTECTED

Re: What causes memory leaks during graceful restarts?

2002-05-21 Thread Dan Wilga
compiled with: USE_APACI=1 SSL_BASE=/usr/local/ssl DO_HTTPD=1 So I guess the solution is to go to 1.26 or newer; I'll try that later in the week. Dan Wilga [EMAIL PROTECTED] Web Technology Specialist http://www.mtholyoke.edu Mount Holyoke

Re: Problem with DBM concurrent access

2002-04-05 Thread Dan Wilga
I would also suggest using BerkeleyDB.pm, but with the DB_INIT_MPOOL|DB_INIT_CDB flags. In this mode, only one writer is allowed at a time, and Berkeley automatically handles all the locking and flushing. Just don't forget to use db_close() to close the file before untie'ing it. Dan Wilga

Re: Berkeley DB 4.0.14 not releasing lockers under mod_perl

2002-04-03 Thread Dan Wilga
=DB_CREATE, -Filename=$file, -Env=$env ); die Can't open $file: $! .$BerkeleyDB::Error.\n if !$db_key; return $db_key; } Dan Wilga [EMAIL PROTECTED] Web Technology Specialist

Getting configuration into a filter

2002-03-26 Thread Dan McGuirk
Hi, I'm writing a filter using modperl-2.0, and trying to figure out how to get per-directory configuration information passed into it. I've tried both PerlSetVar and PerlSetEnv, but nothing seems to be getting through. Below is a section of the httpd.conf and the code. The attempt to

Re: AddModule mod_perl.c

2002-03-24 Thread Dan Riley
of this somewhat convoluted load/clear/add procedure is for the static modules to end up in the right spots in the module list relative to all the DSOs, rather than all bunched up at one end, since the order does matter (a lot). -- Dan Riley [EMAIL PROTECTED] Mr

Re: Berkeley DB 4.0.14 not releasing lockers under mod_perl

2002-03-22 Thread Dan Wilga
the environment, which is needed for DB's internal locking. In a production environment with thousands of hits per hour coming in on multiple threads, I really don't trust flock() to do the job. Dan Wilga [EMAIL PROTECTED] Web Technology Specialist

Berkeley DB 4.0.14 not releasing lockers under mod_perl

2002-03-21 Thread Dan Wilga
, -Filename=$file, -Env=$env ); die Can't open $file: $! .$BerkeleyDB::Error.\n if !$db_key; return $db_key; } Dan Wilga [EMAIL PROTECTED] Web Technology Specialist http

Re: Berkeley DB 4.0.14 not releasing lockers under mod_perl

2002-03-21 Thread Dan Wilga
At 1:32 PM -0500 3/21/02, Perrin Harkins wrote: Dan Wilga wrote: If I either use DB 3.x or even run this from the commandline (bypassing mod_perl) under DB 4 the problem goes away: only one locker is allocated per loop, and therefore the total number used does not increase unexpectedly

Re: Berkeley DB 4.0.14 not releasing lockers under mod_perl

2002-03-21 Thread Dan Wilga
At 1:55 PM -0500 3/21/02, Perrin Harkins wrote: Dan Wilga wrote: What surprises me is that all I have to do to introduce the problem is run it under mod_perl. It acts normally when run from the commandline. Well, let's see, what would be different... Is it possible that the problem

Re: Berkeley DB 4.0.14 not releasing lockers under mod_perl

2002-03-21 Thread Dan Wilga
figured out that the problem persists even when mod_perl is completely disabled, so the problem must lie in either Apache or Berkeley DB. (As a diagnostic, I think I'll try disabling mod_auth_db.* and mod_ssl, since they both use DB.) Thanks for the quick responses, folks! Dan Wilga

Re: Berkeley DB 4.0.14 not releasing lockers under mod_perl

2002-03-21 Thread Dan Wilga
of those times I really wish I could go back and edit my posts :-). Anyone reading this thread will now be seriously confused. So I'll try Aaron's suggestion of writing it as a handler. Any other suggestions are welcome. Dan Wilga [EMAIL PROTECTED] Web

Re: Berkeley DB 4.0.14 not releasing lockers under mod_perl

2002-03-21 Thread Dan Wilga
doing it as a handler, using the configuration below (and the appropriate changes in the source) and the problem persists. So it doesn't seem to be Registry's fault. Location /dan SetHandler perl-script PerlHandler DanTest /Location source code #!/usr/bin/perl package

Re: how to disable mod_perl in a subdir?

2002-02-28 Thread Dan Baker
? --- Marc Slagle wrote: Maybe you can try Apache::PerlRun instead of Apache::Registry for the directories that you need to run those scripts. The perldocs show how to set it up. Marc Slagle - Original Message - From: Dan Baker [EMAIL PROTECTED] To: [EMAIL PROTECTED

Re: how to disable mod_perl in a subdir? Directory vs Location

2002-02-28 Thread Dan Baker
Rick Myers wrote: On Feb 27, 2002 at 21:14:00 -0700, Dan Baker wrote: I am working with a host that has everything under /cgi-bin running mod_perl by default, and well as using EmbPerl to run the dynamic pages This begs the question, how are they doing that? I mean, if they're

how to disable mod_perl in a subdir?

2002-02-27 Thread Dan Baker
that a specific sub-dir uses regular perl. Dan

Re: How to step over the STDIN, while input redirection is not given at commandline

2002-02-14 Thread Dan Boger
. #!/usr/bin/perl unless (-t STDIN) { @a = STDIN; } else { print No file\n; } HTH! -- Dan Boger Linux MVP brainbench.com

Re: Make test issue with the URI module

2002-02-06 Thread dan
I've read through the previous messages on this topic, and have modified my blib/lib/Apache/test.pm as did export PERL_HTTP_URI_CLASS=URI::URL . Now when I make test I get: Can't locate URI/URL/_generic.pm in @INC (@INC contains: . ../blib/lib ../blib/arch /usr/lib/perl5/5.6.0/i386-linux

RE: mod-perl with cygwin

2002-01-18 Thread Dan Horne
I got mod_perl installed with Apache, but then couldn't get libapreq added Dan -Original Message- From: úÁÑÃ á.á. [mailto:[EMAIL PROTECTED]] Sent: Friday, January 18, 2002 8:14 PM To: [EMAIL PROTECTED] Subject: mod-perl with cygwin Hello modperl, Can anybody install mod_perl

Installing mod_perl with ActiveState

2002-01-10 Thread Dan Horne
is not installed. ppm -query mod_perl suggests that it is installed correctly by ppm. I have tried installing and reinstalling, but to no avail. I have also entered: LoadModule perl_module modules/mod_perl.so in httpd.conf, which parses okay. Any ideas? Dan

RE: Installing mod_perl with ActiveState

2002-01-10 Thread Dan Horne
CU, cheers for this - 2 Things: 1. I reinstalled apache in c:/apache 2. I added AddModule mod_perl.c as you mentioned below. I did try with my old installation, but it didn't seem to parse. I don't know what was different this time other than my installation directory Thanks again Dan

RE: Re[2]: Installing mod_perl with ActiveState

2002-01-10 Thread Dan Horne
Sorry - I forgot to say that after I reinstalled apache in included AddModule mod_perl.c it all worked okay cheers Dan -Original Message- From: C.Hauser - IT assistance GmbH [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 10, 2002 10:09 PM To: Dan Horne Subject: Re[2]: Installing

Apache::REquest on cygwin

2002-01-03 Thread Dan Horne
equest/../blib/arch/auto/libapreq -lapreq make[1]: *** [../blib/arch/auto/Apache/Request/Request.dll] Error 1 make[1]: Leaving directory `/tmp/libapreq-0.33/Request' make: *** [subdirs] Error 2 __END__ Has anyone got this working? I'd certainly appreciate some feedback Thanks Dan

[OT] Re: Nimda worm

2001-09-19 Thread Dan Rench
On Tue, Sep 18, 2001 at 04:07:59PM -0700, Nick Tonkin wrote: Heh, as Nat maybe saw the worm doesn't always request ?/c+dir, so until I can figure out a better way to identify it we'll have to go with cmd.exe|root.exe Here's a sample Nimda hit (courtesy of 'nc -l -p 80' -- try it yourself on

row locking problems with AutoCommit, Apache::Session, and Oracle

2001-03-08 Thread Dan McCormick
ning when AutoCommit is on, but seems to solve the problem. Dan __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/

Another [JOB SEEKER] Freelancer / developer for hire

2001-02-15 Thread Dan Mahoney
://webhsot.riverside.ca.us/users/dan Summary: 20 years C, 5 years Perl, 5 years CGI, 1 year mod_perl and HTML::Mason. Dan Mahoney [EMAIL PROTECTED]

Re: http - https for authentication

2000-12-27 Thread Dan Riley
requests to go through the encrypted side so the passwords is never passed in plain text. We do this via an old-fashioned 403 handler on the unencrypted side that returns a 302 redirect to an https URL. The vhost for the encrypted side overrides the 403 handler with our standard handler. -- Dan Riley

mod_proxy caching documentation

2000-11-15 Thread Dan McCormick
. Thanks, Dan Setting up Apache with mod_proxy to cache content from a mod_perl server The documentation for mod_proxy can be found at http://httpd.apache.org/docs/mod/mod_proxy.html. Unfortunately, aside from the configuration parameters, not much detail

unsubscribe modperl

2000-11-10 Thread Dan Oana
unsubscribe modperl

Re: proxying name-based virtual hosts

2000-08-10 Thread Dan Rench
On Thu, 10 Aug 2000, Roger Espel Llima wrote: I'm trying to set up a proxy front-end server to my heavy mod_perl backend, and I'm having some trouble with name-based virtual hosts. Basically, with a rule like "RewriteRule ^/(.*) http://10.36.1.10/$1 [P]", the proxy sends an http request to

Re: ignore header_only()?

2000-08-07 Thread Dan Rench
On Fri, 4 Aug 2000, Vivek Khera wrote: "NT" == Nathan Torkington [EMAIL PROTECTED] writes: NT I see some programmers don't check header_only(). Are there NT bad things in store if you don't? Or will Apache or the browser NT simply ignore the body that gets created? My experience is

Re: .htacess security

2000-08-04 Thread Dan Rench
On Thu, 3 Aug 2000, Ken Williams wrote: [EMAIL PROTECTED] (Rob Giseburt) wrote: Are .htaccess files secure? I don't want users to be able to use perl.../perl sections or any other mod_perl constructs (setting scripts to run via the Registry, for example) in .htaccess files. However, I

Problem with mod_perl and CGI script with Netscape

2000-08-04 Thread Dan O'Connor
reciate hearing from you! TIA, --Dan -- Dan O'Connor On Matters of Most Grave Concern http://www.mostgraveconcern.com FreeBSD Cheat Sheets http://www.mostgraveconcern.com/freebsd/

Re: Perl as DSO...whats wrong with it, specifically?

2000-07-28 Thread Dan Campbell
2.02. -- Dan Campbell

Unexpected pnotes() behavior

2000-07-24 Thread Dan Rench
I had a situation where a pnotes() key set in one phase had a value I did not expect in a later phase. Here's a small module that I wrote as a HeaderParserHandler to illustrate: package Ii::Apache::pnotes; use Apache::Constants 'OK'; sub handler { my $r = shift;

RE: The Eagle has landed!

2000-07-12 Thread Dan Rench
On Wed, 12 Jul 2000, Greg Leidreiter wrote: Firstly becuase the Eagle book seems very rigorous to me, and such an oversight as forgetting to push a path into @INC should have been picked up well before now. I've never heard mention of this problem... mod_perl automatically adds {ServerRoot}

Re: Reading config

2000-06-30 Thread Dan Rench
On Mon, 19 Jun 2000, Matt Sergeant wrote: On Mon, 19 Jun 2000, Edwin Pratomo wrote: how to get configuration values at run-time, such as DirectoryIndex? I don't think you can - that configuration directive is specific to mod_index, and only mod_index can access it, AFAIK. Yes you

Re: Simple program _setting_ REMOTE_ADDR - SOLUTION

2000-06-23 Thread Dan Rench
On Fri, 23 Jun 2000, Steve van der Burg wrote: Taking your remote_ip hint, and reading the Eagle a bit more closely, I came up with this: In httpd.conf: Location /cgi-bin/VENDOR PerlAccessHandler LHSC::FakeRemoteIP /Location Why an Access handler? I realize it works, but a more

Re: $ENV{PATH} set by mod_perl script affects mod_cgi scripts

2000-06-05 Thread Dan Rench
On Sun, 4 Jun 2000, Ben Cohen wrote: The problem is that when a mod_perl script modifies the PATH environment variable, this change seems to become global and affects even plain old mod_cgi scripts. While I also wonder (as another respondent did) why a mod_perl script would need to alter

One cgi test fails w/ CGI open of tmpfile: Permission denied

2000-05-06 Thread Dan Harkless
ith CGI.pm, or with the interaction between the two. Hopefully someone involved with that area of the code can take a look. I guess I'll go ahead with my installation and hope everything's okay despite the failure. -- Dan Harkless [EMAIL PROTECTED]

Re: One cgi test fails w/ CGI open of tmpfile: Permission denied

2000-05-06 Thread Dan Harkless
time it worked with no problem. -- Dan Harkless [EMAIL PROTECTED]

Re: speed up/load balancing of session-based sites

2000-04-28 Thread Dan McCormick
nformation, etc. -jwb Are you using Apache::ASP to generate sessions? Has anyone tried using Tie::DBI to store Apache::ASP sessions in a db? That might solve problems with NFS sharing issues, though it might also bog things down. Dan

speed up/load balancing of session-based sites

2000-04-27 Thread Dan McCormick
and a given user has to be consistently sent back to the same machine? Can round-robin DNS be counted on to send people back to the same server over the life of a given session? Dan

Apache::SSI forces text/html?

2000-04-13 Thread Dan McCormick
$Response-{ContentType} setting overridden. I commented out the $r-content_type line in Apache::SSI and now everything works fine. Is there a compelling reason for keeping that setting in there? I can imagine people might use SSI to spit out more than HTML code. Dan Details: Apache::SSI 2.21

HTML glitch on perl.apache.org

2000-04-09 Thread Dan McCormick
from this site or from mod_perl programmers. Which may cause some headscratching. Dan

Re: Sometimes stdout ends in the error_log!

2000-04-09 Thread Dan McCormick
ust goes away. My specs: apache 1.3.12 mod_perl 1.21 static (upgrading to 1.22 now to see if it fixes anything) Apache::ASP 0.18 perl 5.005_03 Redhat 6.1 / kernel 2.2.12 Dan René Seindal wrote: I have a problem thats bothering me. Sometimes one of the httpd childs start to send normal output to th

Re: Problems with dynamically-loaded perl modules under Solaris2.5.1

1999-12-20 Thread Dan Rench
On Thu, 16 Dec 1999, Eugene Miretskiy wrote: Recently I experienced similar problems on Solaris. I had to rebuild perl as shared libperl.so Perl library for mod_perl to work -- see perl intall manpages. Thanks! This appears to have fixed my problem (though it may have broken CPAN.pm --

Re: A few pointers, please.

1999-11-20 Thread dan
password as expected. It all works. However, my customer has asked for either a timeout, a [Logout] button, or both so that the browser basically 'forgets' the user id. This would then remove the requirement for the user to close down the browser when they leave their system. Exactly.

mod_perl and DBI

1999-11-02 Thread Dan Srebnick
' for module DBI: /usr/lib/perl5/site_perl/5.005/i386-linux/auto/DBI/DBI.so: undefined symbol: PL_dowarn at /usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line 169. Would someone kindly point me in the right direction? Thanks, Dan

Re: Problems with dynamically-loaded perl modules under Solaris2.5.1

1999-11-01 Thread Dan Rench
I did some experimenting with my Solaris2.5.1/mod_perl/Data::Dumper/Storable problem that I wrote about last week. A grid: | mod_perl 1.21 | 1.21-dev (19991101174047) -+---+-- perl5.004_05 | works fine| didn't try perl5.005_03 |

hostname sanitation in PerlTransHandler or anywhere else

1999-10-29 Thread Dan Rench
We use a TransHandler to (among other things) manage name-based virtual hosts (simply put, given the incoming Host: header plus URI, map to a file). We (of course) sanitize the incoming URI and Host. It works fine. I "save" the sanitized hostname like so: $r-header_in('Host',$host);

Re: hostname sanitation in PerlTransHandler or anywhere else

1999-10-29 Thread Dan Rench
On Fri, 29 Oct 1999, I wrote: I can only think of a couple options: hack http_core.c to do what I want, or write a custom LogHandler that uses the sanitized host. We've decided on another option: if you're sending a Host: header that needs "sanitation," then either 1) you're trying to run

Re: Newbie problem with DBI under modperl

1999-10-28 Thread Dan Mahoney
s on where I ought to look next? Dan Mahoney [EMAIL PROTECTED]

Re: Newbie problem with DBI under modperl

1999-10-28 Thread Dan Mahoney
TYPE 1 PARENT undef KIDS 1 (1 active) IMP_DATA undef in 'DBD::mysql::dr' dbih_clearcom 0x3c5cbc (com 0x58d3c8, type 1) done. Are you using the latest drivers? I hope so! I'll go check now. Dan

Newbie problem with DBI under modperl

1999-10-27 Thread Dan Mahoney
apache/smtp/perl-scripts/IEO/headline.pm line 25. [Wed Oct 27 17:30:23 1999] null: We got -2 records [Wed Oct 27 17:30:23 1999] null: DBD::mysql::st fetchrow failed: fetch() without execute() at /usr/local/apache/smtp/perl-scripts/IEO/headline.pm line 29. For some reason the $sth-execute() works ok

Problems with dynamically-loaded perl modules under Solaris 2.5.1

1999-10-26 Thread Dan Rench
I'm having problems with modules that use DynaLoader (Data::Dumper and Storable, specifically) under mod_perl on Solaris machines. These modules work fine in standalone scripts, or when run under mod_cgi or mod_fastcgi, but as soon as I put a "use Storable" in a mod_perl handler, I get this in

Re: PerlTransHandler

1999-10-21 Thread Dan Rench
On Tue, 19 Oct 1999, Mark Cogan wrote: On Tuesday, October 19, 1999 4:13 AM, William Deegan [SMTP:[EMAIL PROTECTED]] wrote: How can I change the environment variables that get passed to a perl script running under Apache::Registry from a PerlTransHandler? I'm using the

No Subject

1999-10-12 Thread Dan Kubilos
auth ac1ee78e subscribe modperl [EMAIL PROTECTED]