Yii Framework Forum: Chmod Permission In Yii Files--403 Forbidden Thing - Yii Framework Forum

Jump to content

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

Chmod Permission In Yii Files--403 Forbidden Thing Rate Topic: -----

#1 User is offline   roadrunner 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 74
  • Joined: 21-June 12

Posted 08 January 2014 - 09:43 PM

Need help about proper permission in yii! things that i concerns is when i view the http://www.yiiframework.com/images/ or similar like that or in protected dir. it show the 403 Forbidden ---

"Forbidden
You don't have permission to access /images/ on this server.".

On the other hand in my situation when i want to view my dir. in browser it list all my files, its kinda unsecure.. all i want is that instead of showing the list in dir. it should be like that with 403 forbidden thing..
0

#2 User is offline   Maurizio Domba Cerin 

  • Yii - Yesss It Is !!!
  • Yii
  • Group: Yii Dev Team
  • Posts: 4,353
  • Joined: 12-October 09
  • Location:Croatia

Posted 09 January 2014 - 03:52 AM

That's up to the webserver config... if you use apache that is set in the .htaccess file with something like

Options All -Indexes


But you need to study about those options and see what is right for you.
Find more about me.... btw. Do you know your WAN IP?
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