Openid禁止错误 [英] Openid forbidden error

查看:92
本文介绍了Openid禁止错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我能够正确安装它(开放ID库)之后,在使其工作时遇到了一些问题.我正在使用打开ID选择器一个jquery插件.

After I was able to get it (open id library) installed properly, I am facing some problems in getting it to work. I am using the open id selector a jquery plugin.

问题是,当我单击任何打开的id提供程序图像时,我会收到一条错误消息,内容是这样的(将表单发布到具有必要参数的try_auth.php之后).

The problem is that when I click on any open id provider image I get an error message saying something like this (after the form is posted to try_auth.php with necessary parameters).

禁止"

您无权访问此服务器上的/Auth/try_auth.php.

You don't have permission to access /Auth/try_auth.php on this server.

此外,尝试使用ErrorDocument处理请求时遇到404未找到错误.'

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.'

我的配置有什么问题??请帮忙.

what is wrong with my configuration.? please help.

我已经将我的网站托管在共享托管中. openid实现与此有关吗?
我之所以这样问是因为我无法通过脚本中的"ini_set()"方法设置PHP设置.
谢谢

I have hosted my site on a shared hosting. Does openid implementation has something to do with this.?
I am asking this because I am not able to set the PHP settings through this method 'ini_set()' in my script.
thanks

推荐答案

好吧,我花了很长时间才找到解决方案.

Well It took me quite a long time to find a solution for this one.

实际上,我为此必须联系网络托管服务提供商的支持,因为openid库实现的规则干扰了托管提供商的mod重写规则.

Actually I had to contact the webhosting service provider support for this because the rules implemented by openid library were interfering with the mod rewrite rules of hosting provider.

他们通过将我的网站添加到白名单中解决了这个问题.

They resolved this problem by adding my site to their whitelist.

然后一切正常(感谢上帝)

And then all worked fine (thank God)

希望它可以帮助面临类似问题的人.

hope it helps someone facing this similar problem.

这篇关于Openid禁止错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆