安装OpenCart后出现403错误

时间:2014-10-14 11:38:05

标签: installation opencart chmod http-status-code-403

我最近在我的网络托管上传了 OpenCart 2.0 ,上传后我看到了这条消息

  

“错误403 - 禁止访问:您无权访问此页面   或服务器上的目录列表“

这是我的网址"www.#####.com/ecommerce"

我已将 777 CHMOD 设置为所有文件夹。 但仍然会显示消息。

有人可以帮助我吗?

2 个答案:

答案 0 :(得分:2)

许可问题,请遵循以下权限 -

目录 - 755权限

档案 - 644许可

答案 1 :(得分:0)

您使用哪种网络服务器进行设置?我正在使用nginx。

你可以尝试解决这个问题(我也有这个)

  • 检查您的/etc/nginx/sites-enabled/[your site conf]文件,确保您的网站有*.php个文件。修好后,我就停止了403错误。
# Add index.php to the list if you are using PHP
index index.html index.php;