Proposed folder structure not working

Hi,

I’m relatively new to Yii. I’ve managed to get a sample application up and running but as I am now moving to a real project, I would like to use the following folder structure for increased security:




[Server root (/)]

- yii

-- framework

-- requirements


[Server htdocs]

- myapp


-- public

--- assets

--- css

--- images

--- themes

--- index.php


-- private

--- protected




All is fine when I leave the protected folder inside the public folder but I don’t want to do this. The only way I can get it to work in my proposed structure is if I create a symlink inside the public folder pointing to the actual folder in the private folder. If I reference it directly in the private folder it just gives me a blank page upon app load.

I’ve double checked my configuration paths and all are fine.

Any help is appreciated.

Can you publish your configs so that It can be used to assist you.

You can check this link to further check your settings

http://www.yiiframework.com/forum/index.php?/topic/16374-organization-application-directory/page__view__findpost__p__81382