• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
dont have permission to access my own work

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

the finished product says


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


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.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.