Directory in Yii
Posted: Tue Oct 21, 2014 3:57 pm
well i have a small question as to where to place my app file . I.E should i place them inside the YII framework folder or outside .
now if i place them outside the folder and in my browser i type this in my URL (look below) :
http://localhost/yii/trackstar/ - it all works fine .
now if i place the app inside the directory and type the following in the browser URL :
http://localhost/yii/framework/trackstar/.
i get the following error :
Access forbidden!
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
You don't have permission to access the requested object. It is either read-protected or not readable by the server.
If you think this is a server error, please contact the webmaster.
Error 403
localhost
Apache/2.4.7 (Win32) OpenSSL/1.0.1e PHP/5.5.9
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Where should i really be placing the app file ??
now if i place them outside the folder and in my browser i type this in my URL (look below) :
http://localhost/yii/trackstar/ - it all works fine .
now if i place the app inside the directory and type the following in the browser URL :
http://localhost/yii/framework/trackstar/.
i get the following error :
Access forbidden!
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
You don't have permission to access the requested object. It is either read-protected or not readable by the server.
If you think this is a server error, please contact the webmaster.
Error 403
localhost
Apache/2.4.7 (Win32) OpenSSL/1.0.1e PHP/5.5.9
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Where should i really be placing the app file ??