简体   繁体   English

Apache 403错误

[英]Apache 403 Error

I can access certain links from my site with no issue. 我可以从我的网站访问某些链接,而没有任何问题。 However, if I try and manually type in the same URL as the link/button I get a 403 error. 但是,如果我尝试手动输入与链接/按钮相同的URL,则会收到403错误。

FOr instance http://www.sumobid.com/logout.php 实例http://www.sumobid.com/logout.php

I have verfied the permissions on the file but am still getting the error. 我已验证文件的权限,但仍收到错误。

This is on a dedicated server. 这是在专用服务器上。

Any ideas? 有任何想法吗?

Sounds like you're not logged in for the second case. 听起来您没有登录第二种情况。 Ie, you can't logout if you're not logged in. 即,如果您未登录,则无法注销。

Edit: Ie, it seems as if the app is throwing a 403 for pages that require auth but don't have it. 编辑:即,似乎该应用程序为需要身份验证但没有身份验证的页面抛出403。 (As opposed to, say, redirecting to the login page.) (与重定向到登录页面相对。)

Seems I fixed my own problem. 看来我已经解决了自己的问题。 It turns out that I had inadvertently turned on LinkProtection in cPanel. 原来,我无意中打开了cPanel中的LinkProtection。 Once that was disabled everything started working as it should 一旦禁用,一切都会开始正常运行

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

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