Open forbidden error

After I was able to install it correctly (open the identifier library), I ran into some problems in its operation. I use open id selector jquery plugin.

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 submitted to try_auth.php with the necessary parameters).

'Forbidden

You do not have permission to access / Auth / try _auth.php on this server.

In addition, when trying to use ErrorDocument to process a request, a 404 Not Found error was detected. ''

what is wrong with my configuration.? please, help.

I hosted my site on a shared hosting. The openid implementation has something to do with this.?
I am asking about this because I cannot set PHP parameters using this "ini_set ()" method in my script.
thank

+2
source share
2 answers

Well, it took me quite a while to find a solution for this.

In fact, I had to contact the support of the hosting service provider for this, because the rules implemented by the openid library interfered with the rules for rewriting the mods of the hosting provider.

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

And then everything worked perfectly (thank God)

hope this helps someone encounter a similar problem.

+4

auth_try.php.

try_auth.php.

, ? http://yourserver/Auth/try_auth.php? , , -, , .

, : PHP, ?

+2

Source: https://habr.com/ru/post/1731406/


All Articles