Home > Backend Development > PHP Tutorial > 网站图片和样式检测403,但是访问路径却是404,如果放在根目录却是正常,这是为什么?

网站图片和样式检测403,但是访问路径却是404,如果放在根目录却是正常,这是为什么?

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 20:34:08
Original
2149 people have browsed it

访问404,审查元素为403
http://yisha.yijile.com/usr/themes/yilefo/style.css

根目录下资源正常

http://yisha.yijile.com/style.css

请问这可能是什么引起的?试过删除所有伪静态规则,还是一样。

然后实用php去读图片是可以读到的

http://yisha.yijile.com/img.php?zc=1&h=120&w=120&src=http:...
网站图片和样式检测403,但是访问路径却是404,如果放在根目录却是正常,这是为什么?

直接读图

http://yisha.yijile.com/usr/uploads/2014/07/2910775776.jpg
网站图片和样式检测403,但是访问路径却是404,如果放在根目录却是正常,这是为什么?

回复内容:

访问404,审查元素为403
http://yisha.yijile.com/usr/themes/yilefo/style.css

根目录下资源正常

http://yisha.yijile.com/style.css

请问这可能是什么引起的?试过删除所有伪静态规则,还是一样。

然后实用php去读图片是可以读到的

http://yisha.yijile.com/img.php?zc=1&h=120&w=120&src=http:...
网站图片和样式检测403,但是访问路径却是404,如果放在根目录却是正常,这是为什么?

直接读图

http://yisha.yijile.com/usr/uploads/2014/07/2910775776.jpg
网站图片和样式检测403,但是访问路径却是404,如果放在根目录却是正常,这是为什么?

目录没有读的权限?

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template