Manual talk:Short URL/LocalSettings.php

cgi hint
With CGI it is now possible to have Short URLs.

Add the two following lines to LocalSettings.php:

Tested with PHP 5.2.6 CGI/FastCGI and Apache/2.2.9 (Unix) and MediaWiki 1.13.1 --79.198.93.195 21:20, 11 September 2008 (UTC)

Subodmains
Task: Use a subdomain and custom installation folder. Given http://foo.localhost landing page URL would resolve to http://foo.localhost/wiki/Main_Page with file path /var/www/foo/w/index.php/

I set up my Apache according to this documentation and follwed this manual for editig LocalSettings.php.

In server logs requests to http://foo.localhost were correctly redirected (file was found) but then I somehow "lost" the subdomain ending in http://localhost/wiki/Main_Page with a 404.

I could fix this by editing LocalSettings.php and set

85.178.192.28 09:01, 7 November 2014 (UTC)