简体   繁体   English

Opencart 403 Forbidden for Admin

[英]Opencart 403 Forbidden for Admin

I haven't touched any files on an install of Opencart for over 2 years or so but recently have been getting an error when trying to access my /admin page. 我没有触及安装Opencart超过2年左右的任何文件,但最近在尝试访问我的/管理页面时遇到错误。

I tried removing -Indexes from the public_html .htaccess file and also added a .htaccess file to the /admin folder but with no luck. 我尝试从public_html .htaccess文件中删除-Indexes,并将.htaccess文件添加到/ admin文件夹但没有运气。

I've read that it could be something to do with file permissions but unsure how this could have changed without me accessing any of the files? 我已经读过它可能与文件权限有关,但不确定如果没有我访问任何文件,这可能会如何改变?

Replacing the admin folder fixed this issue. 替换admin文件夹修复了此问题。 Thanks for the answer Mojtaba Sabeti 感谢Mojtaba Sabeti的回答

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM