> This (about.html) doesn't really need to be a
> template, but it's ok if it is (that's how I have it
> set up now). But I'm having to add a lot of logic in
> my handler so I don't make un-necessary calls to the
> database (there's no client parameter, and I don't
> need as much feature info as I did before). Is there a
> better approach to this, either via TT or Apache?
> Also, is there a way to use Apache (or TT) so that I
> can use simple html pages in htdocs for requests
> ending in .html while sending a .phtml request(or
> whatever ext.) through TT?
>
> /client/zzx/cx/index.phtml uses TT
> and
> /client/zzx/index.html is actually a physical page
> /htdocs/client/zzx/index.html

Sounds like you want to use a <FilesMatch> directive in your httpd.conf.
Check out the apache docs.  You can use different handlers (including the
deafult static page handler) based on file extensions.
- Perrin



Reply via email to