hi. the current directory structure protects protected folders using the deny permission .htaccess directive, but i was wondering in a better approach by separating the index.php front controller and its .hstaccess file in a' let's say, folder named: webroot or webapp or root or something like.
webroot
…index.php
…htaccess
application
…controllers
…views
…models
…etc
system
…yii framework here
this would be a much nicer dir structure i think.