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. (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? 00:47, 9 April 2016 (UTC)

This post was hidden by (history)
This post was hidden by (history) (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? (talkcontribs)

I dont think thats it though. (talkcontribs)

And what do you think it is? (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://".


This post was hidden by AhmadF.Cheema (history)