--- Perrin Harkins <[EMAIL PROTECTED]> wrote: > I think you can just say something like this: > <Location /tom> > TT2ServiceModule Bombadil > </Location>
I tried that, but unless I'm doing something wrong, you can't put TT2ServiceModule in a Location (or Files) directive. I get: Syntax error on line 1285 of /usr/local/apache/conf/httpd.conf: TT2ServiceModule not allowed here /usr/local/apache/bin/apachectl start: httpd could not be started > Alternatively, you could make your Service module > examine the request > object and run different code appropriately. Thanks, I think this will work. I've played around with the TT2ServiceModule now so I've got a feel for what I can do with it. > Your plugin solution may work fine if your pages are > not interactive. Right now I'm just creating "views" with my Plugins and it does exactly what I want. However, I will be building interactive pages later on so I may have to use a different approach. I'll know when I get there :) > However, if you find yourself writing a plugin that > needs to change > which template is being run or discard previously > generated HTML, that's > usually a sign that you're doing something in the > wrong place. Good advice.... Thanks for the help. __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com
