RE: static pages with smarty?

From: Date: Fri, 13 Jul 2001 19:15:42 +0000
Subject: RE: static pages with smarty?
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1161@lists.php.net to get a copy of this message
You may be able to place these directives into the .htaccess file in your public_html or equiv directory. Check with your web host whether this is allowed. Back in the day, I was able to get all .HTML files to be processed by SSI by including that kind of line in .htaccess. Worked w/ my web host at the time... - Oleg On Friday, July 13, 2001, 2:52:21 PM, in message "[smarty] RE: static pages with smarty?", Jorge wrote: JRW> Hmmm. What if you don't have access to httpd.conf? >> -----Original Message----- >> From: Andreas Aderhold [mailto:a.aderhold@thyrell.de] >> I guess the most simple way is to change the mime type in httpd.conf: >> add .html to this line: >> AddType application/x-httpd-php .php .php3 >> -> AddType application/x-httpd-php .php .php3 .html >> But that forces php to parse .html sites (that may be really static) too.

« previous php.smarty.general (#1161) next »