[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: libhtml-mason-perl + perl 5.8.4 : Missing File::Glob.pm?

Hash: SHA1

Will Trillich <will@serensoft.com> writes:

> On Mon, May 24, 2004 at 08:32:31PM +0100, James Keasley wrote:
>> I'm playing with Perl's HTML-Mason module at the moment on my
>> unstable box.
>> Right now, however, the config appears to be failing to work
>> for some reason. I have checked the bug reports, and there
>> doesn't seem to be anything related there at present.

This I got sorted after asking on the IRC chan, it wasn't a HTML::Mason
issue at all, but a known mod_perl issue, that was sorted at the next 

> if you're using Apache2 and mod_perl2, i'd love to know your
> setup! i've tried HTML::Mason with Apache2 and keep running into
> the error mentioned at the top of
> 	http://www.masonhq.com/?ApacheModPerl2
> namely "Global $r object is not available"... (even with the
> "temp fix" from stas beckman, mentioned at that url.)
> i've finally decided to revert to apache-perl instead, until i
> can nail this down. if you're running Apache2 i'd love to have
> your input!

Currently I am using Mason with Apache rather than Apache2, but I have
had mason running on Apache2 with mod_perl2, that was under Red Hat 

The relevant section of my httpd.conf from that server follows,
the rest is completely standard. You would probably have to 
fiddle with some of the locations for it to work under Debian, as I 
haven't tested it yet.

  PerlModule HTML::Mason::ApacheHandler
  <Directory /var/www>
   <FilesMatch "\.m$">
    SetHandler perl-script
    PerlHandler HTML::Mason::ApacheHandler
    DefaultType text/html
   PerlSetVar MasonCompRoot /var/www
   IndexIgnore autohandler dhandler
   AddIcon (TXT,/icons/text.gif) .m

I hope that helps you a bit.

- -- 
James					jamesk[at]homeric[dot]co[dot]uk

"I don't want to achieve immortality through my work... I want to achieve it 
through not dying."  Woody Allen
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>


Reply to: