--- "Douglas S. Sparling" <[EMAIL PROTECTED]>
wrote:

> I looked at TT2ServiceModule but I'm not totally
> sure
> how to use it. How do I vary the code (by URI or
> Location) that is run before the template is called?

To be more specific, I'm not sure how to set up
TT2ServiceModule to handle different URIs.

I can get the sample code to work:

PerlModule Apache::Template
PerlModule My::Service::Module
TT2ServiceModule  My::Service::Module
<Files *.html>
  SetHandler   perl-script
  PerlHandler  Apache::Template
</Files>

But I'd like to run different code depending on the
URI.

Say 
login.html would use My::Login (instead of
My::Service::Module)
and 
account.html would use My::Account

Thanks...

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com


Reply via email to