Re: [SMARTY-DEV] setting up directories

From: Date: Mon, 18 Aug 2003 15:40:04 +0000
Subject: Re: [SMARTY-DEV] setting up directories
References: 1 2 3 4 5 6 7  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-1769@lists.php.net to get a copy of this message
On shared hosting (hosing?), the webserver will own the files that Smarty creates. What exactly is the way to set up permissions so that I have 'rw' permissions on them as well? Monte Ohrt wrote:
The examples given show that the four directories are not within the document root, only the last file (index.php) is within the document root as it should be. In any event, the documentation wording has been changed to reflect a clearer explanation. These will be on the website upon the 2.6.0 final release. On Mon, 2003-08-18 at 10:16, Dennis Gearon wrote:
The example shows: /web/www.mydomain.com/smarty/guestbook/templates/ /web/www.mydomain.com/smarty/guestbook/templates_c/ /web/www.mydomain.com/smarty/guestbook/configs/ /web/www.mydomain.com/smarty/guestbook/cache/ /web/www.mydomain.com/docs/guestbook/index.php looks to me like it's 'off' the document root, not 'out of' the document path. Monte Ohrt wrote:
hmm, I suppose "off the document root" could be interpreted both ways. I'll change that wording. The examples show the files outside of docroot anyways :) On Mon, 2003-08-18 at 09:57, 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


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