Global template_c and cache directory for several clients - good idea
| From: | Jochen Kaechelin | Date: | Sun, 21 Mar 2004 20:28:43 +0000 |
| Subject: | Global template_c and cache directory for several clients - good idea | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-11157@lists.php.net to get a copy of this message | ||
Hello list,
I'am running debian/sid and smarty 2.6.2 and I have the following
question:
I will give all clients a _smarty directory which include a
template and a config directory.
clientname:www-data templates (chmod 0770)
clientname:www-data configs (chmod 0770)
My question is, if it is a good idea to create a global templates_c
and cache directory under /usr/share/php/smarty/
www-data:www-data templates_c (chmod 0700)
www-data:www-data cache (chmod 0700)
when I will create a templates_c directory under the users
_smarty directory everybody can view the contents of the compiled
scripts by typing
www.clientdomain.de/_smarty/templates_c/templatename
What's the best, most secure way to install smarty globally for
several clients?
Thanx
--
Jochen
-------------------------------------------------------