Allen Day wrote: > Okay, I realize this has probably been covered before, but I couldn't find > anything in the archive... > > I have a configuration like this: > > <Location /> > SetHandler perl-script > PerlHandler My::Handler > </Location> > > My::Handler takes the requested file and adds some markup to it with the > Template Toolkit if the MIMEtype of the file is text/html. I want to be > able to use the same handler to also add markup to the output of executed > CGI. What is the best way to do this? > > Should I set up a separate location for the CGI (I'm doing this, > actually) ? Are there any extra directives needed?
by CGI do you mean a script running under mod_cgi? If it's registry you should be able to use stacked handlers: http://perl.apache.org/release/docs/1.0/guide/config.html#Stacked_Handlers __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com