Re:Re: Smarty and speed
| From: | Peter Bowyer | Date: | Sat, 08 Dec 2001 21:13:33 +0000 |
| Subject: | Re:Re: Smarty and speed | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-2215@lists.php.net to get a copy of this message | ||
At 11:50 AM 12/8/01 -0800, you wrote:
Did you get mod_xslt to compile for apache?No, the sysadmin at my hosting company had that problem - although he said it was easy :-) I'm using PHP 4.0.6 with sablotron 0.71 if that's any help. He's still not managed the DOMXML extension though.
I need a way to do pages that aren't dynamic "looking" so search engines can index them. For instance, instead of having article.php?articleID=56, I'd like to have like 56.php...What about using mod_rewrite? Something like: RewriteEngine on Options +FollowSymlinks RewriteBase / RewriteRule ^(.*?)/article/(.*?).php$ $1/article.php?articleID=$2 should do the trick (code untested). HTH, Peter. -- Maple Design - http://www.mapledesign.co.uk