Posted 20 July 2012 - 01:56 PM
I've tried to fix this myself using mod_rewrite but it's pretty difficult to get right, and you have to make a lot of customizations to file paths. Making it the default right from the start in 2.0 would solve this.
Posted 20 July 2012 - 03:41 PM
The protected folder can be placed anywhere or even be renamed. You do not have to change any paths (except the one pointing to the config-file).
I'm using currently something simliar to this (multiple yii-apps on the machine)
/wwwbase/vhosts/app1/index.php (all files which can be delivered directly are placed here)
(Deployment is handled via git and post-receive/symlinks)
You just need to change the $config path in your entry script.
Also you could place anything to a private place and just symlink anything you need into an apache-readable directory.
But agreed having the option to create the app outside of the webroot, or to have a "www" folder which we can symlink( one (static) folder instead of 3+) into a vhost would be nice.
Posted 20 July 2012 - 04:19 PM