Welcome! Log In Create A New Profile

Advanced

Mediawiki and nginx: ".php" string in article title

Posted by hanky 
Mediawiki and nginx: ".php" string in article title
May 29, 2014 07:46AM
Let's assume you have configured nginx+Mediawiki like it's described here: http://wiki.nginx.org/MediaWiki.
I've noticed that it's impossinble to open a wiki article if its title contains ".php" substring. You check this here: http://wiki.nginx.org/test.php
You don't get Mediawiki warning about not existing page, all you can see is this warning: No input file specified.
This happens because nginx tries to pass requests to not-existing test.php script.
How should I configure nginx to be able to load such articles?
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 313
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready