bs-community / blessing-skin-server

Web application brings your custom skins back in offline Minecraft servers.
MIT License
835 stars 118 forks source link

无法显示部分图片,使用Apache,已开启PHP的GD2插件和Apache的rewrite重写模块 #85

Closed Carrot-Sword closed 5 years ago

Carrot-Sword commented 5 years ago

The Problem 问题描述

无法以下显示图像:

以下图像可以显示:

在资源管理器中进行查找,可以找到头像图片(史蒂夫)。

Environment 运行环境

备注:已开启 PHP 的 gd2 扩展,Apache 的重写模块已开启

Error Message 错误信息

直接访问头像地址时出现的错误页面:

2019-07-29

错误信息:

404 Not Found
Not Found
The requested resource /avatar/128/MzM3NTY2MDA4NEBxcS5jb20=.png?tid=1 was not found on this server.
tnqzh123 commented 5 years ago

请参考 printempw/blessing-skin-server#46 检查你的 Apache 配置文件中是否有包含类似的内容。如果有,请将其删除。

Carrot-Sword commented 5 years ago

没有,那个Issues我早就看过了,我用notepad++搜索过配置文件内容,连文本“png”都找不到

tnqzh123 commented 5 years ago

@Carrot-Sword

没有,那个Issues我早就看过了,我用notepad++搜索过配置文件内容,连文本“png”都找不到

我不熟悉 Apache,也不知道你的具体情况,以下内容纯属口胡,如果帮不上你还请见谅:

如果你是单独开了一个配置文件用于存放 vhost 相关的配置并将其包含在 httpd.conf 中的(大多数一键包应该都是这样),请在 httpd.conf 或者 httpd.conf 中包含的其它配置文件中检查一下有没有应用到全局的类似的内容。

皮一下,另一个说起来比做起来简单但是我认为做完了能有很大的好处的解决方案是,换用 Nginx(逃

Carrot-Sword commented 5 years ago

呃呃呃

g-plane commented 5 years ago

我觉得是 Apache 的配置问题,至于是配置的哪里有问题,我也不清楚。

Carrot-Sword commented 5 years ago

好吧,我已经被Apache搞得没脉了,行,换Nginx

Carrot-Sword commented 5 years ago

算了吧,这个问题应该没什么解决的可能了。如果明天还没人提出解决方案的话,我就把这个问题关了。

Carrot-Sword commented 5 years ago

nginx下载怎么这么慢啊啊啊啊啊啊!

Carrot-Sword commented 5 years ago

还是伟大的PanDownload好(笑