in reply to Re^2: Weird HTML::Mason error
in thread Weird HTML::Mason error

PerlModule is not used for setting Apache handlers; for that you need PerlHandler.

See the example from the Mason book.

Replies are listed 'Best First'.
Re^4: Weird HTML::Mason error
by tomazos (Deacon) on Aug 01, 2005 at 17:01 UTC
    Yes, I know, but even when I dont use a PerlModule to load HTML::Mason::ApacheHandler in httpd.conf it still doesn't work.

    It fails when the handler gets called and HTML::Mason::ApacheHandler is loaded at runtime with the same error:

    [Mon Aug 1 10:01:09 2005] [error] unknown field \n passed to construc +tor for class HTML::Mason::ExceptionCompilation failed in require at +(eval 5) line 3.\n [Mon Aug 1 10:01:09 2005] [error] Can't locate object method "make_ah +" via package "Apache" (perhaps you forgot to load "Apache"?) at (eva +l 31) line 6.\n

    -Andrew.


    Andrew Tomazos  |  andrew@tomazos.com  |  www.tomazos.com