On Tue, 20 Feb 2001, Russell Lundberg wrote:
> I'm having problems with the PerlTransHandler handler. Every request
> generates the following error:
>
> [error] null: Undefined subroutine &#::handler called.
>
> Here is the TransHandler:
>
> package Apache::Download;
> use Apache;
> sub handler {
> return DECLINED;
> }
You need to show us the relevant part of your httpd.conf (or
wherever the transhandler gets configured).
> Originally I wanted to use TransHandler to generate a file from
> thin air. User click a link to a file which does not exist, but
> the TransHandler would create it and send it to the client.
Usually one would just generate the content in a PerlHandler (the
content handler phase), possibly with a TransHandler to tell Apache
to use the content handler module when it is needed.
- ask
--
ask bjoern hansen - <http://ask.netcetera.dk/>
more than 70M impressions per day, <http://valueclick.com>