Manual:Short URL/Abyss

Jump to: navigation, search

This is how to Abyss Web Server X2 to produce Mediawiki Short URL

This is for Windows Operating System Users

Log into Abyss Web Server X2 Console.<br>

Click configure on the host needed to configure.<br>

Click on URL Rewriting.<br>

Click the add button to add URL Rewriting Rule<br>

Check the check box to enable Rule. <br>

Set the type to global.<br>

For Virtual Path Regular Expression type ^/wiki/(.*)$<br>

Do not check the check box to enable Case Sensitive.<br>

Chose these two Variable Operator options below for the Conditions. <br>

REQUEST_FILENAME Is not a file<br>

REQUEST_FILENAME Is not a directory<br>

Check the check box to enable  Apply to subrequests.<br>

Chose If this rule matches Perform an internal redirection. <br>

Chose to Redirect to /wiki/index.php?title=$1 <br>

Enabled the two check boxes<br>

Append Query String <br>

Escape Redirection <br>

And finallyChose Next Action Stop matching<br>

Step 2<br>

Open Mediawiki localsettings.php and type<br>

$wgScriptPath = "/wiki";        # may already exist<br>

$wgArticlePath = "/wiki/$1";    # tells MediaWiki how IIS will be rewriting URLs<br>

$wgUsePathInfo = false;    # mine was false you may have to set yours to true<br>

and that's all now you have the Mediawiki Short URLS on my Abyss Web Server X2

Navigate to your domain in you browser.