Re: AxKit configuration question

2001-09-02 Thread clayton

Ed Loehr wrote:

>Robin Berjon wrote:
>
>>On Saturday 01 September 2001 08:02, Ed Loehr wrote:
>>
>>>There's also a note (in AxKit 1.4 change log, I think) that says that
>>>problem is fixed in 1.4.  Also, from 'perldoc AxKit':
>>>
>>>   If you have a recent mod_perl and use mod_perl's
>>>   Makefile.PL DO_HTTPD=1 to compile Apache for you, this
>>>   option will be enabled automatically for you.
>>>
>>>Other clues?
>>>
>>It's supposed to, but sometimes apparently it doesn't (I haven't been able to
>>track down why, and it may be my fault).
>>
>>Have you tried without SSL ? It sometimes conflicts with other modules.
>>Another search track would be to find out which module that AxKit pulls in
>>causes the crash (if any). You could also try out the 1.5 RC (which must be
>>called 1.4_9x and is probably on CPAN or mirrored somewhere), it's been quite
>>stable in my experience.
>>
>
>I tried it without SSL, and the same problem remains:  httpd exits
>silently after seemingly normal startup.  I'll try 1.5RC, axkit irc, and
>debugging if I can't find a way around in my laziness.  Thanks.
>
>Regards,
>Ed Loehr
>
>


have you tried disabling expat compiltation into apache?
as detailed here:
http://axkit.org/faq.xml
under "I install AxKit and Apache segfaults when it starts".










Re: AxKit configuration question

2001-09-02 Thread Ed Loehr

Robin Berjon wrote:
> 
> On Saturday 01 September 2001 08:02, Ed Loehr wrote:
> > There's also a note (in AxKit 1.4 change log, I think) that says that
> > problem is fixed in 1.4.  Also, from 'perldoc AxKit':
> >
> >If you have a recent mod_perl and use mod_perl's
> >Makefile.PL DO_HTTPD=1 to compile Apache for you, this
> >option will be enabled automatically for you.
> >
> > Other clues?
> 
> It's supposed to, but sometimes apparently it doesn't (I haven't been able to
> track down why, and it may be my fault).
> 
> Have you tried without SSL ? It sometimes conflicts with other modules.
> Another search track would be to find out which module that AxKit pulls in
> causes the crash (if any). You could also try out the 1.5 RC (which must be
> called 1.4_9x and is probably on CPAN or mirrored somewhere), it's been quite
> stable in my experience.

I tried it without SSL, and the same problem remains:  httpd exits
silently after seemingly normal startup.  I'll try 1.5RC, axkit irc, and
debugging if I can't find a way around in my laziness.  Thanks.

Regards,
Ed Loehr



Constant subroutine NEW redefined at ...

2001-09-02 Thread princepawn


I dont know what I've done, but somehow my httpd.conf has led to a
number of warnings about me redefining a number of things. Because the
list is voluminous, I include the relevant part of my httpd.conf,
followed by the slurry of warnings. I did check the mod_perl guide
under frequent problems and also troubles and did not see this. I am
using Perl 5.6.1


use lib '/home/princepawn/public_html/gimblerus.com/apache/htdocs/common'; 


PerlModule Apache::Filter
PerlModule Apache::Seamstress
PerlModule Apache::Seamstress::Stitchery
PerlModule Apache::Session
PerlModule Apache::Session::File
PerlModule Apache::SimpleReplace
PerlModule DBIx::Recordset
PerlModule ASC
PerlModule CGI
PerlModule CGI::Cookie
PerlModule Data::Dumper


#open LOG, ">/home/princepawn/public_html/gimblerus.com/apache/logs/dbix.log" 
#   or die "Cannot open dbix.log: $!" ;
$DBIx::Recordset::Debug = 2;
*DBIx::Recordset::LOG = \*STDERR;



ErrorDocument 404 /errordocs/NOT_FOUND/index.chtml

#
 #SetHandler perl-script
# PerlHandler ASC::ErrorDocument
#




AddType text/html   .chtml
 
   SetHandler   perl-script
   PerlSetVar Filter On
   PerlSetVar  TEMPLATE 
"/home/princepawn/public_html/gimblerus.com/apache/templates/header_footer.html"
   PerlSetVar  REPLACE "%% CONTENT %%"
   PerlHandler  +Apache::Seamstress Apache::SimpleReplace
 

AddType text/html   .nthtml
 
   SetHandler   perl-script
   PerlHandler  +Apache::Seamstress
 



princepawn@perlmonk ~/public_html/gimblerus.com/apache/logs : ../shttpd
Constant subroutine NEW redefined at
/home/princepawn/install/lib/perl5/site_perl/5.6.1/Apache/Session.pm line 306 
(#1)
(S|W redefine) You redefined a subroutine which had previously been
eligible for inlining.  See perlsub/"Constant Functions" for
commentary and workarounds.

Constant subroutine MODIFIED redefined at
/home/princepawn/install/lib/perl5/site_perl/5.6.1/Apache/Session.pm line 307 
(#1)
Constant subroutine DELETED redefined at
/home/princepawn/install/lib/perl5/site_perl/5.6.1/Apache/Session.pm line 308 
(#1)
Constant subroutine SYNCED redefined at
/home/princepawn/install/lib/perl5/site_perl/5.6.1/Apache/Session.pm line 309 
(#1)

Subroutine is_new redefined at
/home/princepawn/install/lib/perl5/site_perl/5.6.1/Apache/Session.pm line 320 
(#2)
(W redefine) You redefined a subroutine.  To suppress this warning, say

{
no warnings;
eval "sub name { ... }";
}

Subroutine is_modified redefined at
/home/princepawn/install/lib/perl5/site_perl/5.6.1/Apache/Session.pm line 321 
(#2)
Subroutine is_deleted redefined at
/home/princepawn/install/lib/perl5/site_perl/5.6.1/Apache/Session.pm line 322 
(#2)
Subroutine is_synced redefined at
/home/princepawn/install/lib/perl5/site_perl/5.6.1/Apache/Session.pm line 323 
(#2)
Subroutine make_new redefined at
/home/princepawn/install/lib/perl5/site_perl/5.6.1/Apache/Session.pm line 325 
(#2)
Subroutine make_modified redefined at
/home/princepawn/install/lib/perl5/site_perl/5.6.1/Apache/Session.pm line 326 
(#2)
Subroutine make_deleted redefined at
/home/princepawn/install/lib/perl5/site_perl/5.6.1/Apache/Session.pm line 327 
(#2)
Subroutine make_synced redefined at
/home/princepawn/install/lib/perl5/site_perl/5.6.1/Apache/Session.pm line 328 
(#2)
Subroutine make_old redefined at
/home/princepawn/install/lib/perl5/site_perl/5.6.1/Apache/Session.pm line 330 
(#2)
Subroutine make_unmodified redefined at
/home/princepawn/install/lib/perl5/site_perl/5.6.1/Apache/Session.pm line 331 
(#2)
Subroutine make_undeleted redefined at
/home/princepawn/install/lib/perl5/site_perl/5.6.1/Apache/Session.pm line 332 
(#2)
Subroutine make_unsynced redefined at
/home/princepawn/install/lib/perl5/site_perl/5.6.1/Apache/Session.pm line 333 
(#2)
Subroutine TIEHASH redefined at
/home/princepawn/install/lib/perl5/site_perl/5.6.1/Apache/Session.pm line 344 
(#2)
Subroutine FETCH redefined at
/home/princepawn/install/lib/perl5/site_perl/5.6.1/Apache/Session.pm line 397 
(#2)
Subroutine STORE redefined at
/home/princepawn/install/lib/perl5/site_perl/5.6.1/Apache/Session.pm line 404 
(#2)
Subroutine DELETE redefined at
/home/princepawn/install/lib/perl5/site_perl/5.6.1/Apache/Session.pm line 416 
(#2)
Subroutine CLEAR redefined at
/home/princepawn/install/lib/perl5/site_perl/5.6.1/Apache/Session.pm line 425 
(#2)
Subroutine EXISTS redefined at
/home/princepawn/install/lib/perl5/site_perl/5.6.1/Apache/Session.pm line 433 
(#2)
Subroutine FIRSTKEY redefined at
/home/princepawn/install/lib/perl5/site_perl/5.6.1/Apache/Session.pm line 440 
(#2)
Subroutine NEXTKEY redefined at
/home/princepawn/install/lib/perl5/site_perl/5.6.1/Apache/Session.pm line 447 
(#2)
Subroutine DESTROY redefined at
/home/princepawn/install/lib/perl5/si

ANNOUNCE: mod_perl guide v1.30

2001-09-02 Thread Stas Bekman

A new version of the guide is out:

CPAN:

  file: $CPAN/authors/id/S/ST/STAS/Apache-mod_perl_guide-1.30.tar.gz
  size: 469572 bytes
   md5: e8d363b7a80428324660a59e8b85e5b0

(please allow a few hours for the mirrors to catch up with updates)

Online: http://perl.apache.org/guide/

PDF:http://perl.apache.org/guide/mod_perl_guide.pdf.gz

There weren't many changes recently:

* snippets.pod

  o adding a note about not being able to set Content-type and
Content-encoding headers in non-OK responses (Geoffrey Young).

* modules.pod

  o removing a myth about Apache::Registry suffering from
"XYZ123456.html ==> /perl/foo.pl?p1=XYZ&p2=123456" kind of URI
rewrites (multiply cached version of the same files). It's not
true, at least it works OK now. (Geoff Young)

* install.pod

  o covalent/ex-raven + mod_perl installation scenario nuked, since
covalent doesn't distibute their sources any more, but only as a
DSO package.

* porting.pod

  o added a ref to Text::Reform in format/write section (Matt
Sergeant)

  o s/\$^M/\$^T/ (Glenn)

  o explained the caveat of not having the path in @INC with
Apache::Reload.

* help.pod:

  o adding a link to High Availability project

  o adding a link to the list of Apache projects' mailing lists

* Minor corrections:

  o Aaron Johnson went through the guide and cleaned it up from typos
and mistakes in English.

  o strategy.pod: (Mike MacKenzie)

Enjoy

_
Stas Bekman  JAm_pH --   Just Another mod_perl Hacker
http://stason.org/   mod_perl Guide  http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]   http://apachetoday.com http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/