Re: Rocks.pm

2004-06-19 Thread David Arnold
All, I got it! It took me all day to figure out the permissions on my home directory were set at 700. Setting them to 755 cured the problem. Yuk! I am so slow it's painful! Meanwhile, I have both rocks.pl and MyApache/Rocks.pm working from the page: http://perl.apache.org/docs/2.0/user/intro/st

RE: Apache::Request

2004-06-19 Thread Kreimendahl, Chad J
I think (at least from those I work with), that the main API docs for mp2 could fit them in (link to apache's libapreq site) as if they were a part of it... with notes below stating that they're from an external package. I'd agree with what I expect some responses to be, that people may be conf

RE: Pnotes in apache2

2004-06-19 Thread Kreimendahl, Chad J
Sorry, I mistyped. Was in too much of a hurry to get out of the office. I've set the value of monkey in PerlFixupHandler. Once I get to my PerlResponseHandler and: my $something = $r->pnotes; $something is an unblessed reference (instead of a ref to Table as in the docs). --

Re: Rocks.pm

2004-06-19 Thread michael
David Arnold wrote: > Stas, > > See my comment below, following yours. > [snip] > >> It seems like I am following all of the directions. Any suggestions? > > > >Is the path /home/darnold/httpd/httpd-2.0/perl readable by the user/group > you > >run the Apache under? (hint: grep httpd.conf for

Re: Adjustments for older Mod Perl

2004-06-19 Thread David Arnold
Stas et al, I got this to work today. Yesterday I updated Apache and Mod_perl and consequently I am having more success. At 11:36 PM 6/19/04 +0300, Stas Bekman wrote: >David Arnold wrote: >> All, >> >> I am working through: http://perl.apache.org/docs/1.0/guide/porting.html >> >> Under "The Fir

Re: Rocks.pm

2004-06-19 Thread David Arnold
Stas, See my comment below, following yours. At 11:31 PM 6/19/04 +0300, Stas Bekman wrote: >David Arnold wrote: >> I wrote the file Rocks.pm as on >> http://perl.apache.org/docs/2.0/user/intro/start_fast.html. I put it here >> with these permissions. >> >> [EMAIL PROTECTED] MyApache]$pwd >> /hom

Re: Solutions Guide

2004-06-19 Thread Eric Berg
I just put it up at http://bergbrains.com/MasonSolutionsGuide.html. Very perliminary as you can see. So far, here's what I have. The head2's are the general solutions, and the items are (or will be) the groups of modules that provide those solutions. =head2 Logging =head2 Authentication =item

Re: make test problem

2004-06-19 Thread Stas Bekman
Parimala Ramdas wrote: Hi all, I upgraded Perl from 5.8.0 to 5.8.4 and read on the list that mod_perl had to be re-built. So I gave the foll commands in the source dir of mod_perl Perl Makefile.PL USE_APXS=1 WITH_APXS=/usr/local/apache/bin/apxs EVERYTHING=1 Also tried adding tag NO_HTTPD=1

Re: Apache::Request

2004-06-19 Thread Stas Bekman
Kreimendahl, Chad J wrote: You're right. Looks like I was on a different (newer) machine when I did a find for Request. Had only ever seen newer apache2/mp2/etc. I checked around the perl.apache.org site and had a very hard time finding documentation that would lead me to the url I posted below

Re: IO::File problem on Mod_perl

2004-06-19 Thread Stas Bekman
Huilli Liu wrote: Thanks Tom. I made a simple case for this issue but as a result of the test, it still doesn't work. So I think it may something to do Mod_perl and IO::File. I am running: Apache/2.0.46 (Win32) mod_perl/1.99_10-dev Perl/v5.8.0 PHP/4.3.2 mod_ssl/2.0.46 OpenSSL/0.9.7b Server at mydom

Re: Pnotes in apache2

2004-06-19 Thread Stas Bekman
Kreimendahl, Chad J wrote: Make test does: t/modperl/pnotesok But, when attempting to create a pnotes (which is an APR::Table?) my $hashref = {}; my $pn = $r->pnotes(); my $ret = $pn->set('monkey' => $hashref); $ret is an unblessed hash ref... Should this be blessed back to

Re: httpd timeout

2004-06-19 Thread Stas Bekman
Udlei Nattis wrote: hi in last month i change version of modperl in my production site... mp1 -> mp2 but now i have problem when muth users connect in my server for example, www.techcar.com.br -> timeout dont is dns or apache, modperl ignore my request and dont return site no errorlog, no die, no w

Re: Adjustments for older Mod Perl

2004-06-19 Thread Stas Bekman
David Arnold wrote: All, I am working through: http://perl.apache.org/docs/1.0/guide/porting.html Under "The First Mystery" is the directive: Modify the httpd.conf file in the following way: PerlSetEnv PERLDB_OPTS "NonStop=1 LineInfo=/tmp/db.out AutoTrace=1 frame=2" PerlModule Apache::DB

Re: Rocks.pm

2004-06-19 Thread Stas Bekman
David Arnold wrote: I wrote the file Rocks.pm as on http://perl.apache.org/docs/2.0/user/intro/start_fast.html. I put it here with these permissions. [EMAIL PROTECTED] MyApache]$pwd /home/darnold/httpd/httpd-2.0/perl/MyApache [EMAIL PROTECTED] MyApache]$ll total 4 -rwxr-xr-x1 darnold darnold

RE: Solutions Guide

2004-06-19 Thread Eric J. Hansen
Do you have a URL for your draft doc? (or was part of your question re: publishing this to CVS or perl.apache.org?) One idea might be to create a wiki for it to encourage quicker contribution/review. -Eric > -Original Message- > From: Eric Berg [mailto:[EMAIL PROTECTED] > Sent: Saturd

Rocks.pm

2004-06-19 Thread David Arnold
I wrote the file Rocks.pm as on http://perl.apache.org/docs/2.0/user/intro/start_fast.html. I put it here with these permissions. [EMAIL PROTECTED] MyApache]$pwd /home/darnold/httpd/httpd-2.0/perl/MyApache [EMAIL PROTECTED] MyApache]$ll total 4 -rwxr-xr-x1 darnold darnold 296 Jun 19 11

Solutions Guide

2004-06-19 Thread Eric Berg
A little while ago in the thread where we talked about ways to raise the profile of MP, I suggested that we could put together a MP Solutions Guide that would describe discrete groups of modules that can be used to accomplish specific tasks like Sessions, Logging, and stuff like that. I took a

Re: [mp2] ?Any clue when stable release comes out?

2004-06-19 Thread Matthew Darwin
I'm also using it in production as of yesterday. % HEAD http://nddemo.peregrine.com 200 OK Connection: close Server: Apache/2.0.49 (Unix) mod_perl/1.99_14 Perl/v5.8.3 DAV/2 ... Bart Simpson wrote: Starting a project expected to be done by Xmas. Its billing software for a small ISP. Will a productio

Re: Developer's Cookbook

2004-06-19 Thread Fco. Valladolid
in modperl 2.0 the following conf can work # httpd.conf PerlModule ModPerl::Registry Alias /perl/ /home/httpd/perl/ SetHandler perl-script PerlResponseHandler ModPerl::Registry #PerlOptions +ParseHeaders #PerlOptions -GlobalRequest Options +ExecCGI Take fro

Re: Developer's Cookbook

2004-06-19 Thread Fco. Valladolid
Try the follow. On Sat, Jun 19, 2004 at 01:17:17AM -0700, David Arnold wrote: > All, > > After read section 2.2, pages 47-51, of "Mod_Perl, Developer's Cookbok," I > set this in httpd.conf: > > > #PerlModule ModPerl::Registry PerlModule Apache::Registry > > Alias /cgi-perl/ "/usr/local/apac

RE: Developers Cookbook

2004-06-19 Thread Fco. Valladolid
Try, PerlModule Apache::Registry instant the ModPerl::Registry so, as PerlHandler Apache::Registry Regards. On Sat, Jun 19, 2004 at 01:17:17AM -0700, David Arnold wrote: > > All, > > > > After read section 2.2, pages 47-51, of "Mod_Perl, Developer's Cookbok," I > > set this in httpd

[ANNOUNCE] Apache::SessionManager 1.02

2004-06-19 Thread Enrico Sorcinelli
The uploaded file Apache-SessionManager-1.02.tar.gz has entered CPAN as file: $CPAN/authors/id/E/EN/ENRYS/Apache-SessionManager-1.02.tar.gz size: 29015 bytes md5: edd856273ae073916830988b7e4dcc57 Changes from previous version - + Added SessionManagerHead

Developer's Cookbook

2004-06-19 Thread David Arnold
All, After read section 2.2, pages 47-51, of "Mod_Perl, Developer's Cookbok," I set this in httpd.conf: PerlModule ModPerl::Registry Alias /cgi-perl/ "/usr/local/apache2/cgi-perl/" SetHandler perl-script PerlHandler ModPerl::Registry Options +ExecCGI PerlSendHe

Permissions and owner

2004-06-19 Thread David Arnold
All, I do this in httpd.conf: # David Arnold added these, 6/18/04, 11:33 pm LoadModule perl_module modules/mod_perl.so PerlModule Apache2 PerlModule Apache::compat # More changes by David Arnold, 6/19, 12:17 am PerlModule ModPerl::PerlRun Alias /cgi-perl/ "/usr/local/apache2/cgi-perl/"