Re[5]: [SMARTY] dyamic include file variable
| From: | Bertrand DUNOGIER | Date: | Thu, 09 Jan 2003 19:45:38 +0000 |
| Subject: | Re[5]: [SMARTY] dyamic include file variable | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7094@lists.php.net to get a copy of this message | ||
DG> Sounds very similar to Midgard and another CMS written in Python,
DG> (whose name escapes me now). I think it's a good technique.
DG> However, as you pointed out, mod_rewrite is required, and most
DG> hosting sites don't allow that. You usually have to own your own
DG> box.
Of course. The 404 method Monte told about is not bad at all either,
and maybe less resource intensive (and not as painful to setup than
mod_rewrite i guess. I love regexps). But what i also like with
mod_rewrite is all the other rules it allows.
By instance, on www.youth.lu, the first site we have realized that
implements this method, we also have rules like
http://www.youth.lu/fr/galeries/10/index.php?page=2
=>
http://www.youth.lu/fr/handler.php?page=galeries/view.php?lang=fr&galerie=10&page=2
It's probably better for large sites, though.
Bertrand