Hello, i have just started with Apache::Template and am having difficulties serving files *other* than templates ... large jpg's and mp3's for example. You can see the site for yourself:
- http://lerch.unlocalhost.com/photos.html?set=boro - http://lerch.unlocalhost.com/songs.html are the two pages i am having trouble with. When a user requests, say, an mp3 file from the songs page, it appears that Apache is allowing Apache::Template to process it. Now, i thought that the Files directive would handle this, but it doesn't seem to be working. What i would like to do is have Apache::Template only process files that end with the html extension (tt2 is acceptable as well ...) Here is my currect Apache conf: PerlModule Apache::Template TT2IncludePath /usr/local/tt2/templates TT2IncludePath /home/jeffa/sites/lerch.unlocalhost.com/html TT2Params uri TT2LoadPerl On TT2EvalPerl On <VirtualHost *> <Files *.html> SetHandler perl-script PerlHandler Apache::Template </Files> <Directory /data/apache/sites/lerch.unlocalhost.com/html> SetHandler perl-script PerlHandler Apache::Template </Directory> </VirtualHost> __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com _______________________________________________ templates mailing list [EMAIL PROTECTED] http://lists.template-toolkit.org/mailman/listinfo/templates
