Rizwan Majeed wrote:
> 
> I have added a handler entry in httpd.conf
> 
> <location /myhandler>
>   SetHandler perl-script
>   PerlHandler Demo
> </Location>
> 
> and I have printed a string inside the handler thats it.
> 
Hi Riz,

do you load your Module Demo.pm somewhere?

E.g. in httpd.conf:

        PerlModule Demo

or in startup.pl

        use Demo();

And maybe you have to add butter to the fish ;-) - be more verbose in
your Location definition. See:

http://perl.apache.org/guide/config.html#_Location_Configuration

Ernest


-- 

*********************************************************************
* VIRTUALITAS Inc.               *                                  *
*                                *                                  *
* European Consultant Office     *      http://www.virtualitas.net  *
* Internationales Handelszentrum *   contact:Ernest Lergon          *
* Friedrichstraße 95             *    mailto:[EMAIL PROTECTED] *
* 10117 Berlin / Germany         *       ums:+49180528132130266     *
*********************************************************************

Reply via email to