MediaWiki error: No input file specified

From FVue
Jump to: navigation, search

Problem

Suddenly I receive this error while browsing MediaWiki pages:

No input file specified

Solution

It appears my ISP (Internet Service Provider) is moving from PHP as Apache module to PHP-CGI, because of security reasons.

See http://meta.wikimedia.org/wiki/Apache_config

This is my directory structure:

/
+- mediawiki-1.5.3/
+- mediawiki-1.6.7/
+- w -> mediawiki-1.6.7/

This is in LocalSettings.php:

$IP                 = "/srv/fvue/www/www.fvue.nl/w
$wgScriptPath       = "/w";
$wgArticlePath      = "/wiki/$1";

And this is in .htaccess:

Options FollowSymLinks
RewriteEngine On

RewriteRule ^$ /wiki/Main_Page [L]

RewriteRule ^bashdots$ /bashdots/ [L,R]
RewriteRule ^bashdots/$ /wiki/Bash:_Change_directory_functions [L]

        # Don't rewrite if url has one of these extensions
RewriteRule ^[^:]*\.(php|src|jpg|jpeg|png|gif|bmp|css|js|inc|phtml|pl|ico|html|shtml)$ - [L,NC]
        # Don't rewrite if url start with 'w/'
RewriteRule ^w/ - [L]

        # Rewrite verbose nice urls (legacy)
RewriteRule ^wiki/index.php/(.+)$ /wiki/$1 [L,R]
        # Rewrite nice urls
RewriteRule ^wiki/(.*)$ /w/index.php?title=$1 [L,QSA]

Journal

20060721

http://meta.wikimedia.org/wiki/Apache_config

20060824

Google seemed to have lost track of my page with the ampersand title. Renamed ampersand to 'and' and removed ampersand rewrite.

Comments

blog comments powered by Disqus