Re: [SMARTY-DEV] setting up directories

From: Date: Mon, 18 Aug 2003 15:44:14 +0000
Subject: Re: [SMARTY-DEV] setting up directories
References: 1 2 3 4 5 6  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-1770@lists.php.net to get a copy of this message
Most paths I've seen, as I explained, have been along the lines of: /home/sitename/ = $HOME /home/sitename/www/ -or- /home/sitename/public_html/ -or- /home/sitename/mainwebsite_html/ and they of course, are links that resolve to: /www/sitename/ So please excuse my confusion. messju mohr wrote:
no they aren't. the document root is: /web/www.mydomain.com/docs/ the directories in question are in: /web/www.mydomain.com/smarty/guestbook/ On Mon, Aug 18, 2003 at 08:15:43AM -0700, Dennis Gearon wrote:
If you look at the directory where they are installled in the examples, it's in the document root. messju mohr wrote:
On Mon, Aug 18, 2003 at 07:57:05AM -0700, Dennis Gearon wrote:
http://smarty.php.net/manual/en/installing.smarty.basic.php
It says: "The Smarty directories are only accessed by the Smarty library and never accessed directly by the web browser. Therefore to avoid any security concerns, it is recommended to place these directories in a directory <em>off</em> the document root." to me that means <em>not</em> under the document root.
Monte Ohrt wrote:
Where does the documentation say that? Ideally they should be outside the docroot. On Mon, 2003-08-18 at 09:47, Dennis Gearon wrote:
The documents on the smarty web page say to put the: 'templates' 'templates_c' 'cache' 'config' In the document root. Are there any security concerns here?
-- Smarty Development Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
-- Smarty Development Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.smarty.dev (#1770) next »