Nothing ever works for me :-(

2001-09-09 Thread James Buchanan
I tried altering ppm of ActivePerl to point to the repository to get the mod_perl binary, but there was no such package available. I downloaded the source code and followed the steps in install.win32, to compile with MS Visual C++. Didn't work. I followed the steps to install with perl

HTTP_HOST clarification

2001-09-09 Thread Justin Rains
I forgot to mention I am trying to access the http_host variable through an authentication script.. Thanks! Justin == Justin C. Rains, President WSI.com Consulting _ Get your own FREE branded portal! Visit www.wsicnslt.com to

RFC: Apache::Session::CacheAny

2001-09-09 Thread Tatsuhiko Miyagawa
Announcing the Adapter module which provides a way to use Cache::Cache subclasses as Apache::Session storage implementation. http://bulknews.net/lib/archives/Apache-Session-CacheAny-0.01.readme http://bulknews.net/lib/archives/Apache-Session-CacheAny-0.01.tar.gz Any suggestions are welcome.

Re: Using PerlTypeHandler and PerlHandler for the same Location

2001-09-09 Thread Doug MacEachern
On Wed, 8 Aug 2001, Jay Buffington wrote: Hi, In my httpd.conf file I have: Location /foo/ SetHandler perl-script PerlTypeHandler foo PerlHandler bar /Location and then in the foo and bar files I have: --file foo.pm- package foo; sub handler {

Re: Segmentation faults, some strace logs

2001-09-09 Thread Doug MacEachern
On Wed, 8 Aug 2001, Andrei A. Voropaev wrote: Looks like the problem is caused by 'abort'. I did not do much digging yet but looks like abort calls 'croak'. Unrelational to segv we expirienced strange Bizzare copy of ARRAY in aassign in Carp/Heavy.pm line 79 messages at random instead of

Re: Blank Page Returned by Mod_perl

2001-09-09 Thread Doug MacEachern
On Wed, 8 Aug 2001, Bob Foster wrote: Hi, I'm using mod_backhand frontend and mod_perl backend (on 127.0.0.1). Many complex scripts are working fine but I'm getting behavior I don't understand with this simple script: #!/usr/local/bin/perl print Content-type: text/html\n\n; print

Re: modperl 2.0

2001-09-09 Thread Doug MacEachern
On Fri, 10 Aug 2001, Dave Rolsky wrote: Well, mod_perl 2.0 will require (or does currently require) Perl to be built with ithreads support and this wasn't introduced until 5.6.0 so I wouldn't hold my breath. Actually, I suspect Doug will be recommending that people use 5.8.0 since there's

Re: problems building apache + mod_perl + mod_ssl on FreeBSD 4.3

2001-09-09 Thread Doug MacEachern
On 12 Aug 2001, Wayne Pascoe wrote: cc -funsigned-char -DMOD_SSL=208104 -DMOD_PERL -DUSE_PERL_SSI -fno-strict-aliasing -I/usr/local/include -DEAPI -DNO_DL_NEEDED -fno-strict-aliasing -I/usr/local/include `./apaci` -L/usr/lib-o httpd buildmark.o modules.o modules/standard/libstandard.a

Re: bugfix in Apache::URI

2001-09-09 Thread Doug MacEachern
On Tue, 14 Aug 2001, Vyacheslav Zamyatin wrote: Hello all, Here is a small patch that prevents crash in the following example. $referer = 'http://some.host.com'; $uri = Apache;:URI-parse($req,$referer); $page = $uri-rpath; If parsed uri don't have path at all, it'll dump core

Re: Children dying

2001-09-09 Thread Doug MacEachern
On Tue, 14 Aug 2001, Aleksandr Vladimirskiy wrote: Hi all, I am running a perl 5.6.0, mod_perl 1.26, apache 1.3.19 on Solaris 2.6. I get the following error in my logs: [Tue Aug 14 10:45:10 2001] [notice] child pid 2630 exit signal Segmentation Fault (11) It looks like the child

Re: RFC: Apache::Session::CacheAny

2001-09-09 Thread Perrin Harkins
Tatsuhiko Miyagawa wrote: Announcing the Adapter module which provides a way to use Cache::Cache subclasses as Apache::Session storage implementation. Hmmm... Don't take this the wrong way, but what's the purpose of this? Apache::Session does very little beyond what Cache::Cache does. In

Re: Nothing ever works for me :-(

2001-09-09 Thread Randy Kobes
On Sun, 9 Sep 2001, James Buchanan wrote: I tried altering ppm of ActivePerl to point to the repository to get the mod_perl binary, but there was no such package available. Does the following not work? DOS ppm ppm set repository mp

Re: [OT] Redirect w/ Netscape browser causing 'Document contains no data'

2001-09-09 Thread Joel W. Reed
On Aug 23, [EMAIL PROTECTED] contorted a few electrons to say... Daniel Little wrote: I seem to have a strange problem here with Netscape displaying the error 'Document contains no data' when I do $Response-Redirect($location). everytime i've ever gotten that it was because my server side

mod_rewrite + mod_perl

2001-09-09 Thread Kenny Smith
Hello all, For the first part of my project, I'm just using mod_perl as a replacement for CGI. I'm trying to execute a mod_perl script via mod_rewrite, but it doesn't seem to be persisting. In my httpd.conf, I've got: Files *.mod_perl SetHandler perl-script PerlHandler

Re: RFC: Apache::Session::CacheAny

2001-09-09 Thread princepawn
Perrin Harkins writes: Tatsuhiko Miyagawa wrote: Announcing the Adapter module which provides a way to use Cache::Cache subclasses as Apache::Session storage implementation. Hmmm... Apache::Session does very little beyond what Cache::Cache does. In fact, the only things I

Re: Cloning the request object

2001-09-09 Thread Alin Simionoiu
I forgot to mention that I'm trying to inspect the body in a authentication handler. As soon as a get the body, the body is gone. - Original Message - From: Steven Lembark [EMAIL PROTECTED] To: Alin Simionoiu [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Saturday, September 08, 2001 5:39

Re: problems building apache + mod_perl + mod_ssl on FreeBSD 4.3

2001-09-09 Thread The Doctor
On Sun, Sep 09, 2001 at 11:46:33AM -0700, Doug MacEachern wrote: On 12 Aug 2001, Wayne Pascoe wrote: cc -funsigned-char -DMOD_SSL=208104 -DMOD_PERL -DUSE_PERL_SSI -fno-strict-aliasing -I/usr/local/include -DEAPI -DNO_DL_NEEDED -fno-strict-aliasing -I/usr/local/include `./apaci`

Re: RFC: Apache::Session::CacheAny

2001-09-09 Thread Perrin Harkins
princepawn wrote: Above and beyond the efficiency issues you discuss above, could you comment on what Apache::Session would need to be useful in a serious project? I was commenting specifically on the ID generation. The algorithm supplied does not guarantee unique IDs, especially when you

Re: RFC: Apache::Session::CacheAny

2001-09-09 Thread Tatsuhiko Miyagawa
On Sun, 09 Sep 2001 15:24:14 -0700 Perrin Harkins [EMAIL PROTECTED] wrote: Announcing the Adapter module which provides a way to use Cache::Cache subclasses as Apache::Session storage implementation. Hmmm... Don't take this the wrong way, but what's the purpose of this? To glue

Re: problems building apache + mod_perl + mod_ssl on FreeBSD 4.3

2001-09-09 Thread Doug MacEachern
On Sun, 9 Sep 2001, The Doctor wrote: THAT is the problem, and thanks to you Doug, the same problemed appeared in BSD/OS and the above FIXES the problem!!! great news. this has come up a bunch in the past, but nothing was done about it. i've added the following sanity check to

Re: $r-handler() Issue

2001-09-09 Thread Doug MacEachern
On Sat, 18 Aug 2001, David Wheeler wrote: Hey All, I've got a PerlTransHandler where I want to disable, under certain circumstances (that is, whenever the content type isn't 'text/html') the content handler. However, this code doesn't do the trick: $r-handler('default-handler');

Re: RFC: Apache::Session::CacheAny

2001-09-09 Thread Perrin Harkins
Tatsuhiko Miyagawa wrote: Cache::Cache is a cache interface for any key-value pairs with optioinal automatic expire purge. Apache::Session is a framework for persisntent hash data with unique identifier and automatic serialiization/deserialization for hash. To me, they both look like

Re: RFC: Apache::Session::CacheAny

2001-09-09 Thread Tatsuhiko Miyagawa
On Sun, 09 Sep 2001 18:33:11 -0700 Perrin Harkins [EMAIL PROTECTED] wrote: To me, they both look like persistent hashes. Apache::Session assumes you will be storing a serialized hash in each hash value, and that it will generate IDs for keys if you don't supply one, but otherwise they're

Re: problems building apache + mod_perl + mod_ssl on FreeBSD 4.3

2001-09-09 Thread The Doctor
On Sun, Sep 09, 2001 at 03:02:55PM -0700, Doug MacEachern wrote: On Sun, 9 Sep 2001, The Doctor wrote: THAT is the problem, and thanks to you Doug, the same problemed appeared in BSD/OS and the above FIXES the problem!!! great news. this has come up a bunch in the past, but nothing

Re: [OT] Redirect w/ Netscape browser causing 'Document contains no data'

2001-09-09 Thread Taisuke Yamada
I seem to have a strange problem here with Netscape displaying the error 'Document contains no data' when I do $Response-Redirect($location). everytime i've ever gotten that it was because my server side code had caused an apache process to core dump. You might want to try sending single

cvs commit: modperl Changes Makefile.PL

2001-09-09 Thread dougm
dougm 01/09/09 14:56:46 Modified:.Changes Makefile.PL Log: warn if Perl is configured with -Duseshrplib and a libperl.so is found in a place where it should not be, example: /lib /usr/lib or /usr/local/lib Revision ChangesPath 1.622 +3 -0

cvs commit: modperl-2.0/xs/maps apache_structures.map apr_structures.map

2001-09-09 Thread dougm
dougm 01/09/09 22:49:04 Modified:xs/maps apache_structures.map apr_structures.map Log: update structure maps wrt current httpd-2.0 Revision ChangesPath 1.9 +22 -1 modperl-2.0/xs/maps/apache_structures.map Index: apache_structures.map

cvs commit: modperl-2.0/src/modules/perl mod_perl.c

2001-09-09 Thread dougm
dougm 01/09/09 21:43:03 Modified:lib/ModPerl WrapXS.pm src/modules/perl mod_perl.c Added: lib/ModPerl XSLoader.pm Log: do not bootstrap xs libs outside of httpd Revision ChangesPath 1.20 +2 -2 modperl-2.0/lib/ModPerl/WrapXS.pm