403 Forbidden error upon return

Jump to: navigation, search

I installed and set up the extension.
When I try to login, I'm redirected to the Google login page (first time to my domain login page, but on later test to the standard login... nevermind, that's not the problem now).
I'm then asken to authorize mi URL site. Everything looks good so far.
But when I'm supposed to return to the site I get this:

Forbidden
You don't have permission to access /wiki/Especial:Entrar on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

(the "Especial:Entrar" is because the site is in spanish)

or

Forbidden
You don't have permission to access /index.php on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Depending on the URL I use.

I set the 777 permission to the whole extension folder and its child files/folder. Just in case.
Any idea?

186.19.202.20222:43, 24 May 2012

Hi, the 404 error looks like the wiki is not fully configured - htaccess issue or something similar. Maybe a URL is misconstructed somewhere (a media wiki setup should never give you a 404, it should create a page at the minimum)... Other than that I can't really tell, I haven't encountered this error myself...!

BertrandGorge (talk)07:12, 25 May 2012

For anyone who wants to know, I fixed the problem.

It was an issue with the Apache module mod_security. It prevents from urls to appear in the query string, so parameters like "http://..." cause an error. More info: http://drupal.org/node/576270 http://ericbae.com/2011/06/22/solving-openid-redirect-error/

In my case, I asked my hosting provider (I'm on a shared hosting) to add a rule and it started working just fine.

186.19.202.20221:06, 28 May 2012

Hi,


I have been searching for hours about the problem. Thankfully I came across your answer. I asked my provider to disable the rules described as above, and hopefully they will fix this very soon. One question: are there any side effects by disabling the offending rule.

Regards, Sam

94.227.33.4615:10, 8 November 2012