creating first webapp

Hi, I decided to try out Yii rather than Cake PHP but I’m already running into some problems. First, I am running on a dreamhost account so I suspect this might be giving me some issues but not sure yet. I tried creating a webapp like this:

sudo php yiic webapp mywebapp /home/user/domain.com/

The strange thing is that the script asks me if I’m sure I want to install in /home/user/domain.com/yii/framework/ which to me is a little weird because I clearly said to place the webapp in /home/user/domain.com/ Is this a pathing issue?

So I placed the webapp domain.com/yii/framework/ but now I can’t access domain.com/yii/framework/mywebapp/index.html to test whether the application works or not (403 Forbidden). I’m confused about this since I ran the yiic command as root. Any ideas? Also, will I have any trouble placing webapps in domain.com/yii/framework/ directory? What is the preferred place for webapps? Thanks!

Any help? Surprised that this is the "most popular php framework" but this forum is a dead zone. just want to figure out why yiic insisted on placing files there. Thanks!

maybe others developers cant help ur problem so

yiic webapp only expects one argument, so the right command would be:

[color=#444444][font=Arial, Helvetica, sans-serif][size=2]


sudo php yiic webapp /home/user/domain.com/

[/size][/font][/color]

Hey Mike, I really appreciate the reply… I was expecting that I had to name the webapp when installing it, so what it was doing was creating a webapp called "mywebapp" inside the same folder where i was running the command from. Thanks for clarifying that!