RE: static pages with smarty?
| From: | Andreas Aderhold | Date: | Fri, 13 Jul 2001 18:32:56 +0000 |
| Subject: | RE: static pages with smarty? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1159@lists.php.net to get a copy of this message | ||
Hi Ingo,
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.
Andi
-----Original Message-----
From: Ingo Baab (hiweb) [mailto:baab@hiweb.de]
Sent: Friday, July 13, 2001 8:19 PM
To: smarty@lists.ispi.net
Subject: [smarty] static pages with smarty?
Hello All,
this is not a very smarty-spefivic question,
but has anybody thought about getting
the dynamic pages to look like static-ones?
Apache Rewrite-Engine or so???