|
Posted by Big and Blue on January 7, 2008, 4:21 pm
Please log in for more thread options
r3gis wrote:
>
> 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 .
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)?
>
> 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
> </Location>
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.
|