Changes
Title
changed
How to set up directory structures forMoving project code outside of webroot (plus multiple Yii project support)
Category
unchanged
How-tos
Yii version
unchanged
Tags
unchanged
config, security
Content
changed
[...]
/var/www/blog/webroot/assets/...
/var/www/blog/protected/...
/var/www/blog/runtime/...
/var/www/blog/yii --> symlink to /var/www/yii-1.1.5.r2654
The `protected/` folder is now composed entirely of source code, is invisible to the web user, and the `runtime/` area is separate from everything else.
Config file changes
-------------------
We certainly have to tell Yii where these parts are, and this involves editing both the main config file, plus the application entry script.[...]