简体   繁体   English

HTTP错误403(禁止)

[英]HTTP error 403 (Forbidden)

When I click on the link it gives 403 error, it is working fine on local environment. 当我单击该链接时,它显示403错误,在本地环境下工作正常。 This is the line where error occurs: 这是发生错误的行:

$.post('./../../wp-content/plugins/test/app/controller/summary.php', data,  function(response) {

You first need to confirm if you have encountered a "No directory browsing" problem. 首先,您需要确认是否遇到“无目录浏览”问题。 You can see this if the URL ends in a slash '/' rather than the name of a specific Web page (eg .htm or .html). 如果URL以斜杠“ /”而不是特定网页的名称(例如.htm或.html)结尾,则可以看到此内容。 If this is your problem, then you have no option but to access individual Web pages for that Web site directly. 如果这是您的问题,那么您别无选择,只能直接访问该网站的各个网页。

Do you have any substatus? 您有任何子状态吗? This error code means your browser is not allowed to access this ressource. 此错误代码表示不允许您的浏览器访问此资源。 That means the resource is there but not vissible for you. 这意味着资源在那里,但您看不到。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM