CodeIgniter Forums
dont have permission to access my own work - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22)
+--- Thread: dont have permission to access my own work (/showthread.php?tid=51837)



dont have permission to access my own work - El Forum - 05-20-2012

[eluser]Unknown[/eluser]
I just descovered code ignighter,
I have always used native PHP myself

anyway I installed codeignighter to a directory on one of my hosting account and went through the first tutorial here
http://ellislab.com/codeigniter/user-guide/tutorial/static_pages.html

the finished product says

Forbidden

You don't have permission to access /CodeIgniter_2.1.0/application/views/ on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


how do I fix the dont have permission to access problem?
I suspect the 404 means i messed up during the tutorial but it may be part of the access problem

thanks


dont have permission to access my own work - El Forum - 05-20-2012

[eluser]weboap[/eluser]
i'm just guessing here (need more info about your file structure starting from the public folder or root of your hosting).
but the 1st error is due to you trying to access a view directly, from the browser which CI .htaccess wont let you do, for your own security, mean they are accessible only by the application. the lonely access point is the index.php.

and the 2nd error is in your main .htaccess at the same level of your index.php probably created by your Cpanel, try to edit it and see.