|
|
1
0
我找到了解决方案。。。我实际上也更改了上述代码。。 首先,在我拥有的图像文件夹中,我创建了一个名为index的HTML文件。html 为了避免以下类型的错误,这一点非常重要: 没有匹配的DirectoryIndex(index.html.var、index.htm、index.html、index.xhtml….e.t.c.)。我是通过我的托管提供商(goddady)的错误日志文件发现这个错误的,下面这篇文章让我理解并给了我mre信息来找到它: https://www.liquidweb.com/kb/apache-error-no-matching-directoryindex-index-html-found-solved/ 文章说: “…意味着Apache将只查找名为index.html的目录索引文件” 这解决了我的问题! 我还更改了代码,以便使用openCart架构通过ajax上传图像,正如我在stackoverflow中提出的另一个问题中提到的那样。你可以在这里找到 upload image file through ajax and php ,以防有人在同一个问题上叠加 |
|
|
Mehedi · PHP Post请求返回403状态 8 年前 |
|
|
j10 · 如何在DB查询中区分403和404 8 年前 |
|
|
arnon cohen · Django-自定义403模板 11 年前 |
|
|
juergenBVB · 带有php curl的HTTP错误403 11 年前 |
|
|
Jacob Timme · Nginx Autoindex给我403 12 年前 |
|
|
Pouya · 请求的URL在KendoEditor中返回403 12 年前 |