Gii-Module : 403 Access Denied

Im new to Yii and doing the blog-tutorial.

I have created a testproject and uploaded it to the server. That works fine.

Next I have to add the Gii module - In the main.php file

www.example.com/blog/index.php?r=gii

Here it says: "403 Access denied"

‘modules’=>array(

    'gii'=>array(


        'class'=>'system.gii.GiiModule',


        'password'=>'my_password',


    ),

Is that because I try to develop from the server? is it a better practice to develop from localhost?

regards

Rasmus

read about gii ipfilters: http://www.yiiframework.com/doc/api/1.1/GiiModule#ipFilters-detail

by default you can only connect from localhost, but it can be changed.

ok thank you, I will try that.

using ipFilters, I have to know the ipaddress of my server?!

no - you need to provide ip-s from which may come the request to Gii. This is for security reasons.