Re: [RELEASE CANDIDATE] mod_perl 2.0-RC5

2005-04-12 Thread Philippe M. Chiasson
Geoffrey Young wrote:
the mod_perl development team is pleased to announce that we have a new
candidate for mod_perl 2.0, ready and waiting for testers.
[...]
Looks like things are borked on OS X ;-(
Darwin (OS X):
  Static: bus error on startup (will investigate)
  Dynamic:
worker  prefork:
  Program received signal EXC_BAD_ACCESS, Could not access memory.
  0x87c35bd4 in S_mess_alloc ()
  (gdb) bt
  #0  0x87c35bd4 in S_mess_alloc ()
  #1  0x87c35ec0 in Perl_vmess ()
  #2  0x87c3697c in Perl_vcroak ()
  #3  0x87c36e2c in Perl_croak_nocontext ()
  #4  0x01016b18 in modperl_global_cleanup (data=0x0) at modperl_global.c:80
  #5  0x000712ac in run_cleanups (cref=0x1806228) at apr_pools.c:1952
  #6  0x00070940 in apr_pool_clear (pool=0xbb1c) at apr_pools.c:694
  #7  0x00024568 in main (argc=11, argv=0xbd34) at main.c:575
I'll investigate some more and post more detailled backtraces.

Philippe M. Chiasson m/gozer\@(apache|cpan|ectoplasm)\.org/ GPG KeyID : 88C3A5A5
http://gozer.ectoplasm.org/ F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3A5A5


signature.asc
Description: OpenPGP digital signature


APR::Const

2005-04-12 Thread Octavian Rasnita
Hi,

Does anyone know where I can download the module APR::Const (for Windows)...
meaning the ppd file?

I have seen that the site jenda.krynicky.cz cannot be found.
Can that module be found somewhere else?

I cannot make mod_perl work without it.

Thank you.

Teddy




Re: APR::Const

2005-04-12 Thread Brent Clark
Octavian Rasnita wrote:
Hi,
Does anyone know where I can download the module APR::Const (for Windows)...
meaning the ppd file?
I have seen that the site jenda.krynicky.cz cannot be found.
Can that module be found somewhere else?
I cannot make mod_perl work without it.
Hi
[EMAIL PROTECTED] sprdsht]# cpan
Terminal does not support AddHistory.
cpan shell -- CPAN exploration and modules installation (v1.7601)
ReadLine support available (try 'install Bundle::CPAN')
cpan i /APR::Const/
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
  Database was generated on Tue, 12 Apr 2005 04:54:43 GMT
Module id = APR::Const
CPAN_USERID  GOZER (Philippe M. Chiasson [EMAIL PROTECTED])
CPAN_VERSION 0.009000
CPAN_FILEG/GO/GOZER/mod_perl-2.0.0-RC4.tar.gz
MANPAGE
INST_FILE 
/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi/APR/Const.pm
INST_VERSION 0.01
cpan

Use PPM
Hope this helps
Regards
Brent Clark


Re: APR::Const

2005-04-12 Thread Octavian Rasnita
Hi,

I have tried to use ppm for installing it, but I cannot find it.
I have tried:

ppm install mod_perl

And this command installed mod_perl, but not APR::Const.

Then I have tried:

ppm install APR::Const

But ppm tried to fetch it from Jenda's repository and it was not accessible.

I have also tried:

cpan i /APR::Const/

But the result was:

E:\apache2\bincpan
Terminal does not support AddHistory.
cpan shell -- CPAN exploration and modules installation (v1.7601)
ReadLine support available (try 'install Bundle::CPAN')
cpan
cpan i /APR::Const/
CPAN: Storable loaded ok
Going to read \.cpan\Metadata
Database was generated on Tue, 12 Apr 2005 01:55:26 GMT
Module id = APR::Const
CPAN_USERID  GOZER (Philippe M. Chiasson [EMAIL PROTECTED])
CPAN_VERSION 0.009000
CPAN_FILEG/GO/GOZER/mod_perl-2.0.0-RC4.tar.gz
INST_FILE(not installed)
cpan

So, what can I do to install it?

I have tried to install it with cpan but it asked me for apxs, because cpan
also tries to install mod_perl.

Teddy


- Original Message - 
From: Brent Clark [EMAIL PROTECTED]
To: Octavian Rasnita [EMAIL PROTECTED]
Cc: modperl@perl.apache.org
Sent: Tuesday, April 12, 2005 5:03 PM
Subject: Re: APR::Const


 Octavian Rasnita wrote:
  Hi,
 
  Does anyone know where I can download the module APR::Const (for
Windows)...
  meaning the ppd file?
 
  I have seen that the site jenda.krynicky.cz cannot be found.
  Can that module be found somewhere else?
 
  I cannot make mod_perl work without it.

 Hi

 [EMAIL PROTECTED] sprdsht]# cpan
 Terminal does not support AddHistory.

 cpan shell -- CPAN exploration and modules installation (v1.7601)
 ReadLine support available (try 'install Bundle::CPAN')

 cpan i /APR::Const/
 CPAN: Storable loaded ok
 Going to read /root/.cpan/Metadata
Database was generated on Tue, 12 Apr 2005 04:54:43 GMT
 Module id = APR::Const
  CPAN_USERID  GOZER (Philippe M. Chiasson [EMAIL PROTECTED])
  CPAN_VERSION 0.009000
  CPAN_FILEG/GO/GOZER/mod_perl-2.0.0-RC4.tar.gz
  MANPAGE
  INST_FILE
 /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi/APR/Const.pm
  INST_VERSION 0.01
 cpan


 Use PPM

 Hope this helps

 Regards
 Brent Clark



Re: APR::Const

2005-04-12 Thread Randy Kobes
On Tue, 12 Apr 2005, Octavian Rasnita wrote:

 Hi,

 I have tried to use ppm for installing it, but I cannot find it.
 I have tried:

 ppm install mod_perl

 And this command installed mod_perl, but not APR::Const.

APR::Const isn't contained in a separate distribution; it's
part of mod_perl-2. So if you've installed the mod_perl ppm
package, APR::Const should already be there.

-- 
best regards,
randy kobes


Re: Need some help getting whois up and running with perl

2005-04-12 Thread Stas Bekman
Boysenberry Payne wrote:
I installed the Net::Whois Perl Module and keep getting an error returned:
Can't connect to Whois serverNet::Whois: Can't connect to 
whois.networksolutions.com: IO::Socket::INET: Bad service 'whois'

Any ideas on how to correct this?
I've already reinstalled my net/whois app.
Boysenberry, this is a mod_perl list. Please avoid asking off-topic
questions that you can ask in more appropriate forums. Please check
http://perlmonks.org/ and http://lists.perl.org/. Thank you.

--
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Re: APR::Const

2005-04-12 Thread Jonathan Vanasco
If I remember correctly,
APR::Const  - mp2 rc5
Apache::Const   - mp2 =  rc4
Apache::Constant- mp1
Apologies if this is all wrong.
On Apr 12, 2005, at 10:39 AM, Randy Kobes wrote:
On Tue, 12 Apr 2005, Octavian Rasnita wrote:
Hi,
I have tried to use ppm for installing it, but I cannot find it.
I have tried:
ppm install mod_perl
And this command installed mod_perl, but not APR::Const.



Re: Need some help getting whois up and running with perl

2005-04-12 Thread Perrin Harkins
On Tue, 2005-04-12 at 11:29 -0500, Boysenberry Payne wrote:
 I installed the Net::Whois Perl Module and keep getting an error
 returned:

This mailing list is not for general Perl questions, just
mod_perl-specific ones.  If you need help with non-mod_perl things,
please try one of the resources listed here:
http://perl.apache.org/docs/offsite/other.html

- Perrin



Re: APR::Const

2005-04-12 Thread Randy Kobes
On Tue, 12 Apr 2005, Jonathan Vanasco wrote:


 If I remember correctly,
   APR::Const  - mp2 rc5
   Apache::Const   - mp2 =  rc4
   Apache::Constant- mp1

It's true that Apache::Constant is an mp1-specific module,
and APR::Const and Apache::Const in mp2. If one installs the
current mod_perl ppm package (based on RC4) from
   http://theoryx5.uwinnipeg.ca/ppms/
for ActivePerl 8xx, both Apache::Const and APR::Const
are included.

-- 
best regards,
randy


DirectoryIndex ignored when using perl-handler

2005-04-12 Thread William McKee
Hi,

This message is probably coming at a bad time with the recent release of
RC5. I'm still in the process of migrating from mp1 to mp2-RC4 at the
moment. I have a directory which is setup to be served via
ModPerl::Registry. When I try to open the path with only the directory
name (e.g., http://localhost/), I receive a 404 error in my browser and
get errors in my log like the following:

   Attempt to serve directory: /home/path/to/document/root/

If I put a filename in the url (e.g., http://localhost/index) or disable
perl-handler, Apache is correctly serving the index file. Any ideas on
why Apache would appear to be ignoring my DirectoryIndex setting?

Here's the relevant part of my httpd.conf:

Directory /home/www/public_html
  AllowOverride None
  Options ExecCGI MultiViews -Indexes SymLinksIfOwnerMatch IncludesNoExec
  DirectoryIndex index login index.html

  # default handler is perl-script
  PerlSendHeader On
  SetHandler perl-script
  PerlResponseHandler ModPerl::Registry

  Files *.html
SetHandler None
  /Files
  Files *.css
SetHandler None
  /Files
/Directory


This configuration had been working under mp1.

Thanks,
William

-- 
Knowmad Services Inc.
http://www.knowmad.com


Re: DirectoryIndex ignored when using perl-handler

2005-04-12 Thread Geoffrey Young


William McKee wrote:
 Hi,
 
 This message is probably coming at a bad time with the recent release of
 RC5. I'm still in the process of migrating from mp1 to mp2-RC4 at the
 moment. I have a directory which is setup to be served via
 ModPerl::Registry. When I try to open the path with only the directory
 name (e.g., http://localhost/), I receive a 404 error in my browser and
 get errors in my log like the following:
 
Attempt to serve directory: /home/path/to/document/root/
 
 If I put a filename in the url (e.g., http://localhost/index) or disable
 perl-handler, Apache is correctly serving the index file. Any ideas on
 why Apache would appear to be ignoring my DirectoryIndex setting?

yup :)

 This configuration had been working under mp1.

yes, because mp1 is configured to handle requests of type DIR_MAGIC_TYPE
whereas mp2 is not.  this is a bug or a feature, depending on whether you
think mp1 was correct or not :)

see

  http://www.masonhq.com/?HandlingDirectoriesWithDhandlers

for a good discussion, and a fixup handler that will likely fix your
problem.  you can also search the archives for the Apache::Dir discussion
that (IIRC) yielded that document.

--Geoff


Re: APR::Const

2005-04-12 Thread Ian D. Stewart
Octavian Rasnita wrote:
I have seen that the site jenda.krynicky.cz cannot be found.
 

jenda.crynicky.cz is alive and well. 

However, if you continue to have difficulty accessing the main site, 
Jenda has set up a US mirror at 
http://www24.brinkster.com/jenda/index.html.  There's another mirror 
referenced on the main page (http://jenda.mydot.net), but I haven't had 
any luck accessing it.

HTH,
Ian


[mp1.99] ErrorDocument

2005-04-12 Thread Jie Gao
Hi All,

Can anybody tell me how to get at a directive like ErrorDocument 403
/errors.html set in httpd.conf from within a handler?

Regards,


Jie