Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ------------------------------------
- PHP
- ------------------------------------
- $wgScriptPath = "/mw1.17";
- $wgScriptExtension = ".php";
- $wgArticlePath = "/1-17/$1";
- $wgUsePathInfo = true
- -----------------------------------
- Apache (.htaccess)
- -----------------------------------
- RewriteEngine On
- RewriteRule ^1-17/(.*)$ /mw1.17/index.php?title=$1 [PT,L,QSA]
- RewriteRule ^1-17/*$ /mw1.17/index.php [L,QSA]
- -----------------------------------
- URLs
- -----------------------------------
- http://mediawiki.lcawtest.co.cc
- http://mediawiki.lcawtest.co.cc/mw1.17
- http://mediawiki.lcawtest.co.cc/mw1.17/api.php
- http://mediawiki.lcawtest.co.cc/1-17/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement