0
此页面返回403,但同时呈现html并正常加载。页:http://maldiveclub.com/为什么以及如何在返回时正常加载页面403
此页面返回403,但同时呈现html并正常加载。页:http://maldiveclub.com/为什么以及如何在返回时正常加载页面403
你可以使用ErrorDocument
指令:
ErrorDocument 403 /custom-403.html
这将返回状态403
同时显示来自/custom-403.html
内容。
一些服务器端JavaScript文件看起来像它的不可访问
GET http://maldiveclub.com/ [HTTP/1.1 403 Forbidden 2619ms]
Call Stack:
onReload/< resource://devtools/server/actors/webbrowser.js:1609:7
exports.makeInfallible/< resource://devtools/shared/ThreadSafeDevToolsUtils.js:101:14
而且,我加载超过14兆超过300请求只是为了看1页。这真的破坏了性能:只需加载所有的JavaScript就花费15秒以上。