Gii page not loading

Hello, I am new to yii but I have covered the installation section of the guide. I could use gii on windows but I could not even access the page on Ubuntu 12.04. I installed both the basic and advanced frameworks and used the url "localhost/advanced/frontend/web/index.php?=gii" and "localhost/advanced/backend/web/index.php?=gii" for advanced and "localhost/basic/web/index.php?=gii" for basic but it did not direct me to the Gii page. Am I doing anything wrong?

must user ?r=gii not ?=gii

you forgot r letter in the above url

That is true. It is now working. Thanks.