Topic on Project:Support desk

Summary last edited by MacFan4000 21:47, 22 September 2016 7 years ago

Host was changed to a better host.

24.39.1.140 (talkcontribs)

I posted here, (Post is called Problems), a week ago, and still have not gotten a response. If I could get one that would be great. Thanks.

Original report:


I am having some issues on my wiki. I can create empty filters and enable/disable them but I can't do anything else. If I try it says,

Not Implemented

GET to /index.php/Special:AbuseFilter/2 not supported. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

This only happens when I try to edit the conditions. Any thoughts? 67.244.58.187 00:47, 9 April 2016 (UTC)

This post was hidden by 87.123.58.223 (history)
This post was hidden by 67.244.58.187 (history)
87.123.58.223 (talkcontribs)

The URL /index.php/Special:AbuseFilter looks like you are using short URLs. Maybe the problem is somehow related to the short URL configuration?

67.244.58.187 (talkcontribs)

I dont think thats it though.

87.123.58.223 (talkcontribs)

And what do you think it is?

108.114.10.142 (talkcontribs)

How should I know?

Ciencia Al Poder (talkcontribs)

Disable short URLs (basically, remove all rewrite rules and restore/adapt $wgArticlePath) and try again

MacFan4000 (talkcontribs)

I was also thinking that it might have something to do with mod_security.

AhmadF.Cheema (talkcontribs)

Also, had the same problem. Found disabling only the HTTPS .htaccess rewrite rules was enough.

Rewrite rules:

RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

The browser gives the following warning for secured connection:

Mixed Content: The page at 'https://<Domain>/wiki/Special:AbuseFilter/1'</nowiki> was loaded over a secure connection, but contains a form which targets an insecure endpoint 'http://<Domain>/wiki/Special:AbuseFilter/1'. This endpoint should be made available over a secure connection.

Any idea how this can be permanently fixed, or whatever the root problem might be?

Ciencia Al Poder (talkcontribs)

@AhmadF.Cheema: AbuseFilter is being used here at WMF wikis, and in HTTPS, and I don't see that problem.

If you're using https, be sure you don't have $wgServer set with "http://" as protocol, because it will force URLs to http instead of https.

AhmadF.Cheema (talkcontribs)

Yes, that was apparently the exact problem.

The "form which targets an insecure endpoint" now uses https://<Domain>/wiki/Special:AbuseFilter/1 instead of "http://".

Thanks!

This post was hidden by AhmadF.Cheema (history)