WikiServer - Moving the wiki folder

From The TinkerNet Wiki
Revision as of 00:14, 29 May 2020 by Tinker (talk | contribs) (Created page with "(i.e.: moving it from /var/www/html/wiki to /var/www/wiki)<br> <code>sudo vim /var/www/html/wiki/LocalSettings.php</code> *<code>#$wgScriptPath = "/wiki";</code> *<code>$wgSc...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

(i.e.: moving it from /var/www/html/wiki to /var/www/wiki)
sudo vim /var/www/html/wiki/LocalSettings.php

  • #$wgScriptPath = "/wiki";
  • $wgScriptPath = "";

Then move the folder...

  • sudo mv -R /var/www/html/wiki /var/www/wiki

Do note that the wiki will no longer be accessible until you have configured Apache to do Virtual Host Support.