Yii Framework Forum: Folder Permission Error On Windows 7 Using Xampp - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Folder Permission Error On Windows 7 Using Xampp Rate Topic: -----

#1 User is offline   webacity 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 04-September 13

Posted 04 September 2013 - 09:59 AM

Hi

I'm a newbie
I using windows 7 and running XAMPP on local hard drive
I setup a test application called helloworld using the command
yiic webapp helloworld

When I run test the index file in my browser in localhost mode
I get an error: 'Access forbidden!

You don't have permission to access the requested object. It is either read-protected or not readable by the server. '

the tutorial I am following says I should make sure 'assets/ and protected/runtime/ directories are writable by your web server process...' but does not explain how to do this.

Any ideas why this is the default? I would expect that yii would just work without having to play around with permissions settings on my machine? I did standard install of xampp on my machine and put the yii folder in the htdocs folder. All pretty straightforward so why the hassle with permissions?

regards

Jon
0

#2 User is offline   explorer 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 69
  • Joined: 26-July 13

Posted 06 September 2013 - 12:18 AM

I don't think it's caused by Yii, on Windows environment you simply don't need to set the permission of assets & runtime folder. You can do a simple check by creating your own index.html or index.php in site's root directory and try to access it, does it work?
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users