mod_perl -> Can't enable PerlResponeHandler in

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hi ,

I have been trying to enable PerlResponseHandler in the <Location /
start > directive of my VirtualHost ...but for some reason it doesn't
work ...

I really cant understand why it does i if  I put it directly to the
VirtualHost ... I would be very greatful if someone could explain this
to me .

This is my apache configuration :
[ If I go to the http://bookshelf/ everything works great... on the
other hand I dont get anything in the http://bookshelf/start ( Just
blank page with few basic headers ).

<VirtualHost *:80>

    ServerName bookshelf
    RewriteEngine on
    DocumentRoot /var/www/apache2-default
    LogLevel Info
    CustomLog /var/log/apache2/bookshelf-access.log common
    PerlModule MyApache::Handler
    SetHandler perl-script
    PerlResponseHandler  MyApache::Handler

  <Location /start >
    PerlResponseHandler  MyApache::Handler

   <Directory / >
        Order deny,allow
        Deny from all
        Allow from


Piotrek Duszynski

Re: mod_perl -> Can't enable PerlResponeHandler in

r3gis wrote:
Quoted text here. Click to load it

    Is there anything in the server logs?

    Have you added a print to STDERR in your Handler code to check that it
is called (the output will end up in the Error log)?

Quoted text here. Click to load it

    You haven't posted the code for MyApache::Handler!

    Is this module in @INC for the running web server?

    Is the function within it which you wish to be called called handler()?

              Just because I've written it doesn't mean that
                   either you or I have to believe it.

Site Timeline