Wikimedia setup question

Wikimedia setup question

Posted by: chitown76
Posted on: 2007-06-08 07:09:00

Hello,

This is the first time I am setting up a wiki. I setup a subdomain (wiki.mydomain.org) and installed the wiki software using the one click setup under the wiki.mydomain.orgiurl directory.

Everything worked beautifully, according to the mediawiki entry on the dreamhost wiki, it mentions the following:

In reply to:

If your wiki is installed under a "wiki." subdomain

1. Install MediaWiki in a subdirectory, e.g., wiki.yourdomain.com/iurl and not in the root directory of wiki.yourdomain.com using the Dreamhost control panel
2. Configure your wiki as normal with ugly URLs
3. Modify the following options in LocalSettings.php

$wgScriptPath = "/iurl";
$wgArticlePath = "/$1";

1. In the ROOT directory of www.yourdomain.com place the following .htaccess file:

RewriteEngine on

# uncomment this rule if you want Apache to redirect from wiki.mysite.com/ to wiki.mysite.com/Main_Page
# RewriteRule ^/$ /Main_Page [R]

# do the rewrite
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /iurl/index.php?title=$1 [PT,L,QSA]


So I edited the localsettings.php file from the config directory, then copied it to the root directory, but I am not sure WHICH parent directory to copy it to. Is it the wiki.mydomain.org directory or the www.mydomain.org directory? Either way, I get the following message when I visit the wiki.mydomain.org/iurl directory:

In reply to:

To complete the installation, move config/LocalSettings.php to the parent directory.


Any suggestions??

Tags: wikireplymydomainwikimediadreamhostqsahtaccess filemysiterewriterulemediawikiroot directorysubdomainsetup questionphp fileugly urlsrewrite