well, you are missing something :)

p 73: "Apache will walk through the registered uri_translate handlers until
one returns a status other than DECLINED."

thus I suspect that SimpleTranslation::handler is returning OK, so your
request never gets to FancyTranslation::handler

HTH

--Geoff

> -----Original Message-----
> From: Evgenii Bazarov [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 13, 1999 8:42 AM
> To: [EMAIL PROTECTED]
> Subject: again - more then one PerlTransHandler
> 
> 
> Hi everybody,
> 
> Sorry for the poor wording of my question. Once again:
> 
> I am trying to install and use more then one translation
> handler. I tried two approaches to specifying handlers
> in the Apache config file (both recommended in the 
> "Eagle" book.) First, have both handlers on the same line,
> e.g. in httpd.conf
> 
> PerlTransHandler  SimpleTranslation::handler FancyTranslation::handler
> 
> In this case Apache spits out error:
> 
>  Syntax error on line 29 of /etc/httpd/conf/perl.conf
>  PerlTransHandler takes one argument, the Perl Translation 
> handler routine 
> name.
> 
> and exits.
> 
> Secondly I tried to put two lines in config:
> 
> PerlTransHandler  SimpleTranslation::handler
> PerlTransHandler  FancyTranslation::handler
>  
> In this case, only second handler gets invoked.
> Am I missing something?!!!
> 
> Evg
> 
> 
> 
> --------------------------------------------
> Hi!
> 
> I tried to set more then one PerlTransHandler but
> if I specify both on the same line, Apache says
> "syntax error", otherwise it see only the last one.
> 
> Apache 1.3.6 on Linux with mod_perl 1.19
> 
> According to "Apache Modules" book it should be
> possible... Any advice will be highly appreciated!
> 
> Cheers,
> Evg
> 
> 
> 
> ____________________________________________________________________
> Get free email and a permanent address at 
http://www.netaddress.com/?N=1

Reply via email to