Welcome Guest, Not a member yet? Register   Sign In
403 in Controller Subdirectory access
#9

(06-24-2020, 11:09 AM)inumaru Wrote:
(06-24-2020, 10:15 AM)schertt Wrote: ...

The other thing I'll say is that with 403 errors, you should pretty much go straight to whatever is hosting the application itself, e.g. Apache, Nginx, etc. Look through those access/error logs for a relevant message, it could be something not directly related to CI, like bad file ownership or permissions.

This really help. Thank you for pointing this, as I finally found out why I got 403 when I access "/admin".
The problem occurred because I have a folder in my public directory which name is "admin".
I put this folder as a place for my css, js, etc for the admin and that is why it got 403 response.
So when I access
Code:
http://mydevsite.vhost/admin
it search index.php inside my public/admin folder (or at least that what the apache error was reporting) but instead of 404 I got 403.
Thank you everyone for the response.



I made the same mistake of naming a folder admin under the public folder for css and js. I have been searching a solution for past two days. This worked now. 
Reply


Messages In This Thread
RE: 403 in Controller Subdirectory access - by Divi - 10-29-2020, 06:27 PM



Theme © iAndrew 2016 - Forum software by © MyBB