in reply to Re^2: Can't locate object method "content_type"
in thread Can't locate object method "content_type"

See https://perl.apache.org/docs/2.0/user/handlers/http.html#PerlResponseHandler and https://perl.apache.org/docs/2.0/user/handlers/http.html#HTTP_Request_Handler_Skeleton
  • Comment on Re^3: Can't locate object method "content_type"

Replies are listed 'Best First'.
Re^4: Can't locate object method "content_type"
by Anonymous Monk on May 08, 2014 at 12:55 UTC
    Hi Finally i found the solution. in .htaccess file need to add this.
    SetHandler perl-script PerlOptions +MergeHandlers PerlResponseHandler Apache2::AddFilterDyn
    Actually I already have one PerlResponseHandler ModPerl::Registry So, my AddFilterDyn filter is not working proper. PerlOptions +MergeHandlers gives the solution for it. Thanks all.
Re^4: Can't locate object method "content_type"
by gaja (Initiate) on May 08, 2014 at 13:04 UTC
    Hi Finally i found the solution. in .htaccess file need to add this.
    SetHandler perl-script PerlOptions +MergeHandlers PerlResponseHandler Apache2::AddFilterDyn
    Actually I already have one default PerlResponseHandler ModPerl::Registry So, my AddFilterDyn filter is not working proper. PerlOptions +MergeHandlers gives the solution for it. Thanks all.