Although this article https://bz.apache.org/bugzilla/show_bug.cgi?id=41441#c4  
says that colon(:) will not work on apache for windows, I was able get it 
working. 

No .htaccess file
Added this to the bottom of my VirtualHost

Alias /wiki D:/Data/htdocs/wiki/index.php
</VirtualHost>

And this to the bottom of Local settings

$wgScriptPath = "";
$wgArticlePath = "/wiki/$1";
$wgArticleURL = $wgServer."/wiki"; 
$wgScriptExtension = ".php";
$wgUsePathInfo = true;



-----Original Message-----
From: MediaWiki-l <[email protected]> On Behalf Of 
Legault, Phillip [GTSUS] via MediaWiki-l
Sent: Thursday, March 12, 2020 11:23 AM
To: MediaWiki announcements and site admin list 
<[email protected]>
Subject: [EXTERNAL] [MediaWiki-l] mediawiki short web urls

WARNING: This email originated from outside the company. Do not click on links 
unless you recognize the sender and have confidence the content is safe. If you 
have concerns about this email, send it as an attachment to 
‘[email protected]’.

Running xampp on windows
Trying to get short urls to work.


If I'm logged in I can get to the pages in the main namespace and get forbidden 
Error 403  in any other namespace



LocalSettings.php

$wgScriptPath = "";

$wgArticlePath = "/$1";

$wgUsePathInfo = true;





.htaccess file

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*) /index.php/$1 [L]



Looked at a lot of pages about mediawiki short urls and nothing works

_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to