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

(This post was last modified: 06-23-2020, 01:21 PM by inumaru.)

This is some of my syntax in Routes file:

PHP Code:
$routes->add("admin""Admin/Login::index");
$routes->add("login""Admin/Login::index");
$routes->add("admin/home""Admin/Admin::index"); 


And my folder structure for Controller is like :
[Image: yjj7M.png]

Both this link is fine when I access it:

Code:
http://mydevsite.vhost/admin/home
http://mydevsite.vhost/login


But this link:
Code:
http://mydevsite.vhost/admin

Got a 403 forbidden, is this normal? how can I redirect user who access that link to somewhere else?
Reply


Messages In This Thread
403 in Controller Subdirectory access - by inumaru - 06-23-2020, 01:16 PM



Theme © iAndrew 2016 - Forum software by © MyBB