On Wed, Jul 14, 2010 at 17:12, Platonides Platonides@gmail.com wrote:
Phil Howard wrote:
I have now the following:
$wgScriptPath = "/+"; $wgArticlePath = "/$1";
with this in Apache:
Alias /= /home/pub/wiki Alias /+ /var/lib/mediawiki Alias / /var/lib/mediawiki/index.php/
and local DNS giving an IP address for hostname "wiki", and it has been working now, with URLs like:
Yes, I know this means I cannot make an article with a name beginning with "+".
Nor can you have robots.txt, favicon.ico...
I can add Apache Alias or other directives as needed. Fortunately I have that level of control (and understand that not everyone does). I might go ahead and do that for favicon.ico. But as you can tell from the domain name used, this isn't going to be crawled by Googlebot, so I'm not worrying about robots.txt. OTOH, if we make a public wiki, I will (and another Alias).