The teacher can access it by typing www.edu.com/index/user/login, but my access is www.edu.com/index.php/index/user/login, but after opening it, the content of the index.html template is still displayed.
The teacher enters www.edu.com/index/user/login to access, and my access is www.edu.com/index.php/index/user/login, but after opening it, the index.html template is still displayed. Content
Are you using the tp framework?
Your www.edu.com/index.php/index/user/login is accessing the index controller. According to you, you need to access the user controller.
Try visiting www.edu.com/index.php/user/login