Problem comping mod_perl and mod_dav statically at same time...

2002-03-14 Thread simran
Hi All, I am trying to compile the following things together: * apache_1.3.23 * mod_dav-1.0.3-1.3.6 * mod_perl-1.26 If i compile apache with mod_dav OR mod_perl it works fine. However, if i compile them both in then httpd always segfaults as soon as i pass it any request. The way i

[ANNOUNCE] PHP::Session

2002-03-14 Thread Tatsuhiko Miyagawa
Announcing new module: PHP::Session. This module enables you to read / write (write is not yet implemented though) PHP4-builtin session files from Perl. Then you can share session data between PHP and Perl, without changing PHP code, which may be a hard work for us Perl hackers. This is

Re: Problem comping mod_perl and mod_dav statically at same time...

2002-03-14 Thread simran
Hi All, To all those that read the message and were about to reply, a big thankyou. I *think* i have it working :-) The problem was that the 'dav' directory (as specificied in the Location field in my httpd.conf) did not exist on the filesystem!!! Once i created that, all the options seem

Apache and Perl with Virtual Host

2002-03-14 Thread Matt Phelps
Forgive me if I'm posting to the wrong group. Ive got apache 1.3.22 running several virtual webs. I can get perl scripts to run under the default web but not in the others. All the webs point to the same script folder. If I try to run the script under a virtual web, all I get is text display.

Re: Serious bug, mixing mod-perl content

2002-03-14 Thread mire
Beta contains new code and www is old code. We were calling www but once a while beta would pop in. We noticed error messages that were giving whole stack trace (caller) but those error messages were not present in www code, they are implemented as a change in beta code. Right now we solved the

problem in recompiling

2002-03-14 Thread Parag R Naik
Hi all,I am having a problem compiling mod_perl 1.26 src with apache 1.3.22 src.The problem on running make occur at the following command gcc -c -I../.. -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-thread-multi/CORE -I../../os/unix -I../../include -DLINUX=22 -I/usr/include/db1

Re: Memory query

2002-03-14 Thread Andrew Green
In article [EMAIL PROTECTED], Perrin Harkins [EMAIL PROTECTED] wrote: If you actually want to free the memory, you need to undef it. The untie prevents it from persisting, but the memory stays allocated unless you undef. OK, I think I'm probably handling this properly then, after all. In

RE: loss of shared memory in parent httpd

2002-03-14 Thread Bill Marrs
It's copy-on-write. The swap is a write-to-disk. There's no such thing as sharing memory between one process on disk(/swap) and another in memory. agreed. What's interesting is that if I turn swap off and back on again, the sharing is restored! So, now I'm tempted to run a crontab every 30

Re: Apache and Perl with Virtual Host

2002-03-14 Thread Bill Marrs
At 04:02 AM 3/14/2002, Matt Phelps wrote: Forgive me if I'm posting to the wrong group. Ive got apache 1.3.22 running several virtual webs. I can get perl scripts to run under the default web but not in the others. All the webs point to the same script folder. If I try to run the script under

Re: loss of shared memory in parent httpd

2002-03-14 Thread Andreas J. Koenig
On Thu, 14 Mar 2002 07:25:27 -0500, Bill Marrs [EMAIL PROTECTED] said: It's copy-on-write. The swap is a write-to-disk. There's no such thing as sharing memory between one process on disk(/swap) and another in memory. agreed. What's interesting is that if I turn swap off and back

[OT]RE: loss of shared memory in parent httpd

2002-03-14 Thread Narins, Josh
Call me an idiot. How is it even remotely possible that turning off swap restores memory shared between processes? Is the Linux kernel going from process to process comparing pages of memory as they re-enter RAM? Oh, those two look identical, they'll get shared? -Incredulous -Original

Problem With DB_File Installation On Red-Hat Linux 7.1

2002-03-14 Thread James McKim
I'm trying to install DB_File on our Red-Hat Linux. 7.1 box and am getting an error about having 2 versions of BerkeleyDB installed. The log of the installation follows. Any help would be appreciated. James CPAN.pm: Going to build P/PM/PMQS/DB_File-1.803.tar.gz Parsing config.in... Looks

RE: Problem With DB_File Installation On Red-Hat Linux 7.1 [OT]

2002-03-14 Thread Joe Breeden
I had this problem the other day. And it was a screwy problem to fix. I had to get the latest BerkeleyDB, something like v4.0.14 (www.sleepycat.com) install it. Then reinstall the DB_File and I believe Storable modules making sure they pointed to the new install of BerkeleyDB. Of course, when

RE: Problem With DB_File Installation On Red-Hat Linux 7.1 [OT]

2002-03-14 Thread Joe Breeden
That rings a bell. I think that the problem was that a secondary required file for the db.h for one of the versions db3 I believe is not a part of the RedHat install and that relinking the db.h file didn't help. It was at that point that I went to sleepcat.com to get the complete kit and

Re: POST and multipart/data-form question

2002-03-14 Thread Robin Berjon
On Thursday 14 March 2002 17:12, Vuillemot, Ward W wrote: Now, I change nothing more than the form enctype to multipart/data-form. I haven't looked at your sample code in detail, but as someone that got caught on similar problems due to silly typoes I'd like to point out that it's

POST and multipart/data-form question

2002-03-14 Thread Vuillemot, Ward W
I have searched off and on for the past 3 weeks for a solution to my problem. I am at wits end. . .and thought I would finally ask the mailinglist. I had a set of CGI scripts that worked without problem. I began the process about 4 weeks ago of moving them to mod_perl. The suite of scripts

Re: [OT]RE: loss of shared memory in parent httpd

2002-03-14 Thread Bill Marrs
How is it even remotely possible that turning off swap restores memory shared between processes? Is the Linux kernel going from process to process comparing pages of memory as they re-enter RAM? Oh, those two look identical, they'll get shared? This is a good point. I really have no clue how

[ANNOUNCE] Apache::VMonitor v0.7

2002-03-14 Thread Stas Bekman
The uploaded file Apache-VMonitor-0.7.tar.gz has entered CPAN as file: $CPAN/authors/id/S/ST/STAS/Apache-VMonitor-0.7.tar.gz size: 19973 bytes md5: 352f90fa6d40deae16a4daa80ef22d5e Changes: * fix a devide by zero error (when there is no swap used). Thanks to Bill Marrs

Re: POST and multipart/data-form question

2002-03-14 Thread Hans Poo
El Jue 14 Mar 2002 12:12, Vuillemot, Ward W escribió: I have searched off and on for the past 3 weeks for a solution to my problem. I am at wits end. . .and thought I would finally ask the mailinglist. I had a set of CGI scripts that worked without problem. I began the process about 4

RE: POST and multipart/data-form question

2002-03-14 Thread Vuillemot, Ward W
not a type -- just my brain switching things. the form is correct. : -Original Message- : From: Robin Berjon [mailto:[EMAIL PROTECTED]] : Sent: Thursday, March 14, 2002 8:22 AM : To: [EMAIL PROTECTED] : Subject: Re: POST and multipart/data-form question : :

Re: Serious bug, mixing mod-perl content

2002-03-14 Thread Perrin Harkins
mire wrote: Beta contains new code and www is old code. We were calling www but once a while beta would pop in. We noticed error messages that were giving whole stack trace (caller) but those error messages were not present in www code, they are implemented as a change in beta code. Are you

RE: loss of shared memory in parent httpd

2002-03-14 Thread Tom Brown
On Thu, 14 Mar 2002, Bill Marrs wrote: It's copy-on-write. The swap is a write-to-disk. There's no such thing as sharing memory between one process on disk(/swap) and another in memory. agreed. What's interesting is that if I turn swap off and back on again, what? doesn't seem to me

RE: Mapping files

2002-03-14 Thread Stathy G. Touloumis
Ok, I found an interim solution for my file mapping issue the problem I am running into now is that get/post data associated with the request is lost . . . Is this covered in the mod_perl cookbook? I am trying to map a uri to a file based on certain factors. I would like to have this done

Re: problems returning a hash of hashes using mod_perl

2002-03-14 Thread Garth Winter Webb
On Thu, 2002-03-14 at 10:46, [EMAIL PROTECTED] wrote: code: | return %Actions::Vars::config{$conf}; |

[OT]Re: problems returning a hash of hashes using mod_perl

2002-03-14 Thread Per Einar Ellefsen
At 15:46 14.03.2002 -0300, [EMAIL PROTECTED] wrote: im using mod_perl with a module which stores all the configurations, and embperl for displaying the wepages a sub in this .pm has to return a hash with the configurations but that hash is inside another general hash called configurations, this

Re: [OT]Re: problems returning a hash of hashes using mod_perl

2002-03-14 Thread Per Einar Ellefsen
At 19:53 14.03.2002 +0100, Per Einar Ellefsen wrote: Again, see perllol, it'll give you insight into this matter. Oops, like Garth pointed out, this is supposed to be perldsc, and not perllol (which gives a description of arrays of arrays, which work in a similar way). -- Per Einar Ellefsen

Re: problems returning a hash of hashes using mod_perl

2002-03-14 Thread Ernest Lergon
[EMAIL PROTECTED] wrote: [snip] | return %Actions::Vars::config{$conf}; | - Must read:

Re: problems returning a hash of hashes using mod_perl

2002-03-14 Thread FRacca
tnks a lot to all of you for the quick answers.. it now recognizes the hash im sending to, but its complaining a bit about the values.. saying it cat find the values for the keys.. but i don´t think this will be a real problem... it must be some gramatical eror or something tnks again

[WOT] emacs and WEBDAV

2002-03-14 Thread Rob Bloodgood
I'm running a Mason based website, and I use Emacs when I write code. My web designers use Dreamweaver. I've designed the site so that my web guys have to reserve me one table cell (or more than one depending on where in the site, but you get the point) where I put a single dispatch component

Re: [WOT] emacs and WEBDAV

2002-03-14 Thread darren chamberlain
Quoting Rob Bloodgood [EMAIL PROTECTED] [Mar 14, 2002 14:30]: I've been trying, in various attempts over the past two years, to come up with a compromise between the two. The closest I've come was somebody mentioned a CVS emulation layer over a DAV repository... but that never came to

Re: problems returning a hash of hashes using mod_perl

2002-03-14 Thread FRacca
Actually i found out that this was the correct answer code: | return %{$Actions::Vars::config{$conf}}; | -

Re: [WOT] emacs and WEBDAV

2002-03-14 Thread Kee Hinckley
At 11:30 AM -0800 3/14/02, Rob Bloodgood wrote: The problem is, concurrency. Dreamweaver has versioning built in... but emacs has no way to recognize it. So when I make a fix to a file, if the designers aren't explicitly instructed to refresh-from-the-website-via-ftp, my changes get hosed.

Re: problem in recompiling

2002-03-14 Thread Ged Haywood
Hi there, On Thu, 14 Mar 2002, Parag R Naik wrote: Hi all, I am having a problem compiling mod_perl 1.26 src with apache 1.3.22 src. The problem on running make occur at the following command gcc -c -I../.. -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-thread-multi/COR ActivePerl ?

Problem Removing Handlers

2002-03-14 Thread Hans Poo
Please Help One of my handlers do an: $r-set_handlers( PerlInitHandler = undef); Later in the same virtual host configuration there is another Directory covering the URL / with this handler. PerlInitHandler sub { my $r = shift; warn 'callback', $r-current_callback; warn 'this should

Re: Problem Removing Handlers

2002-03-14 Thread Geoffrey Young
Hans Poo wrote: Please Help One of my handlers do an: $r-set_handlers( PerlInitHandler = undef); Later in the same virtual host configuration there is another Directory covering the URL / with this handler. PerlInitHandler sub { my $r = shift; warn 'callback',

Re: performance testing - emulating real world use

2002-03-14 Thread mike808
My experience with commercial load-testing apps is that they are outrageously expensive, a pain to program, don't really scale all that well, and mostly have to run on Windows with someone sitting at the mouse. There are some that work better than others, but the free stuff in this

Apache::DBI startup failure

2002-03-14 Thread Doug Silver
I can't seem to get Apache::DBI to start up properly. Here's my startup.pl: #!/usr/bin/perl -w use strict; use Apache (); use Apache::Status (); use Apache::DBI (); # This *must* come before all other DBI modules! use Apache::Registry; use CGI (); CGI-compile(':all'); use

Re: Apache::DBI startup failure

2002-03-14 Thread Brendan W. McAdams
I've seen similar behavior with DBD::Sybase; if your SYBASE env variable is not set or points at an invalid directory Apache starts up but begins segging every child process over and over again. I'm not familiar with Postgres but this might point you in the right direction. On Thu, 2002-03-14

RE: [WOT] emacs and WEBDAV

2002-03-14 Thread Rob Bloodgood
At 11:30 AM -0800 3/14/02, Rob Bloodgood wrote: The problem is, concurrency. Dreamweaver has versioning built in... but emacs has no way to recognize it. So when I make a fix to a file, if the designers aren't explicitly instructed to refresh-from-the-website-via-ftp, my changes get

Re: Apache::DBI startup failure

2002-03-14 Thread Doug Silver
Ok, I found it, but this has got to be some kind of bug. This works: Apache::DBI-connect_on_init(dbi:pg:demo,demo); This doesn't: Apache::DBI-connect_on_init(dbi:Pg:demo,demo); That's right, putting 'dbi:pg' in lowercase made it work. I looked through some old newsgroup stuff and saw someone

Re: [OT]RE: loss of shared memory in parent httpd

2002-03-14 Thread Stas Bekman
Bill Marrs wrote: You actually can do this. See the mergemem project: http://www.complang.tuwien.ac.at/ulrich/mergemem/ I'm interested in this, but it involves a kernel hack and the latest version is from 29-Jan-1999, so I got cold feet. It was a student project. And unless someone

[Fwd: Re: Apache::DBI startup failure]

2002-03-14 Thread Brendan W. McAdams
Weird, although I bet if you had straced the apache processes you would have seen the File not found. For some reason I recall DBD Drivers being case sensitive. On Thu, 2002-03-14 at 20:06, Doug Silver wrote: Ok, I found it, but this has got to be some kind of bug. This works:

Looking for RPC::ONC.pm

2002-03-14 Thread Medi Montaseri
Does anyone know where I can find an ONC RPC perl package? The only one I found is perlrpcgen-0.71a from Jake Donham who used be reachable at [EMAIL PROTECTED] However Jake's implementation requires an include file (rpc/svc_soc.h) that seems to be only available on Solaris. I need a linux

Re: [WOT] emacs and WEBDAV

2002-03-14 Thread Tatsuhiko Miyagawa
At Thu, 14 Mar 2002 11:30:54 -0800, Rob Bloodgood wrote: DW also speaks WEBDAV natively, but emacs does not. Emacs speaks CVS Eldav: Yet another WebDAV interface for Emacsen http://www.gohome.org/eldav/ -- Tatsuhiko Miyagawa [EMAIL PROTECTED]

cvs commit: modperl-2.0/xs/maps apr_types.map

2002-03-14 Thread stas
stas02/03/14 18:03:57 Modified:xs/maps apr_types.map Log: fixing the typemap for apr_interval_time_t to NV, because it's: typedef apr_int64_t apr_interval_time_t; 64bit != IV, but NV Revision ChangesPath 1.13 +1 -1 modperl-2.0/xs/maps/apr_types.map