Select Page

MediaWiki No input file specified. error

MediaWiki No input file specified. error
MediaWiki do not like server running PHP as fastcgi…

But there is a always a workaround: 😉

1. create a file .htaccess in the root folder of your Wiki

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /wiki/index.php?title=$1 [L,QSA]

2. open the file LocalSettings.php and activate ugly URLs
#$wgArticlePath      = "$wgScript/$1";
$wgArticlePath      = "$wgScript?title=$1";

Some URLs in my Wiki are still not working, that’s because they are hardcoded inside the code. I will move to the newest mediawiki version soon.



About The Author

Cédric Walter

I worked with various Insurances companies across Switzerland on online applications handling billion premium volumes. I love to continuously spark my creativity in many different and challenging open-source projects fueled by my great passion for innovation and blockchain technology.In my technical role as a senior software engineer and Blockchain consultant, I help to define and implement innovative solutions in the scope of both blockchain and traditional products, solutions, and services. I can support the full spectrum of software development activities, starting from analyzing ideas and business cases and up to the production deployment of the solutions.I'm the Founder and CEO of Disruptr GmbH.