houseabsolute / HTML-Mason

High-performance, dynamic web site authoring system
https://metacpan.org/release/HTML-Mason/
Other
9 stars 18 forks source link

can not second handle_request #27

Open autarch opened 4 years ago

autarch commented 4 years ago

Migrated from rt.cpan.org #104638 (status was 'stalled')

Requestors:

From kes-kes@yandex.ru on 2015-05-23 07:22:31 :

I have encountered same problem: http://sourceforge.net/p/mason/mailman/message/14999444/

Trying to google give me no result.

Parameters for object are:

$ah{ $r->hostname } ||=  HTML::Mason::ApacheHandler->new (
    args_method             => 'mod_perl',
    comp_root               => "$ROOT/www",
    data_dir                => '/var/cache/mason',
    error_format            => 'text',
    error_mode              => 'fatal',
    preamble                => 'use utf8;',
    escape_flags            => {h => \&HTML::Mason::Escapes::basic_html_escape},
    request_class           => 'MasonX::Request::WithApacheSession',
    session_class           => 'Apache::Session::File',
    session_directory       => '/var/cache/apache2/session',
    session_lock_directory  => '/var/cache/apache2/session',
    session_use_cookie      => 1,
    session_cookie_name     => 'SESSION',
    session_cookie_expires  => 'session',
    session_cookie_secure   => 0,
);

Docs also have no info about right error handling. It will be good to have them.

autarch commented 4 years ago

From drolsky@cpan.org (@autarch) on 2015-06-03 14:49:41 :

On Sat May 23 03:22:31 2015, kes-kes@yandex.ru wrote:

I have encountered same problem: http://sourceforge.net/p/mason/mailman/message/14999444/

Trying to google give me no result.

Parameters for object are:

$ah{ $r->hostname } ||= HTML::Mason::ApacheHandler->new ( args_method => 'mod_perl', comp_root => "$ROOT/www", data_dir => '/var/cache/mason', error_format => 'text', error_mode => 'fatal', preamble => 'use utf8;', escape_flags => {h => \&HTML::Mason::Escapes::basic_html_escape}, request_class => 'MasonX::Request::WithApacheSession', session_class => 'Apache::Session::File', session_directory => '/var/cache/apache2/session', session_lock_directory => '/var/cache/apache2/session', session_use_cookie => 1, session_cookie_name => 'SESSION', session_cookie_expires => 'session', session_cookie_secure => 0, );

Docs also have no info about right error handling. It will be good to have them.

I don't understand what bug you're reporting.