yii backend panel main. php help

I am creating a web app of two interfaces, front end and back end

http://www.yiiframework.com/wiki/33/organize-directories-for-applications-with-front-end-and-back-end

please do help me what is content of file having

protected/backend/config/main.php

please share this file , because its showing error when i open backend.php

Thank You

if i create admin as module via gii, how do i make different access for different user types, please someone can elaborateā€¦??? i am totally new all this coding

i also want to ask that, how do we start, firstly we create schema, then model via gii and then setup rbac and then at last the admin moduleā€¦ sorry about silly questions, i am totally beginner