MediaWiki Install Guide for 1and1

I ran into a little problem installing MediaWiki on my 1and1 host. The existing MediaWiki Install Guide is very thorough, but I put this post together to just to highlight where I had problems on my host.

After downloading and unzipping the file, the next step is to add the following lines to your .htaccess file (or create it if it does not exist) in the base MediaWiki directory.

AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php

Now, where the big trouble comes when trying to run the config script. For some reason trying to access the “/config” directory results in a “300 Multiple Choices” error on the server:

Multiple Choices

The document name you requested (/config/index.php) could not be found on this server.
However, we found documents with names similar to the one you requested.

Available documents:

Please consider informing the owner of the referring page about the broken link.

The easy way around this is to simply COPY the config directory to something else like config2. Now to complete the installation, run the config script, but just change the URL to config2. Per the instructions, you will need to copy the LocalSettings.php file from the config directory to the wiki root.

The rest of the installation should work per the standard instructions.

Advertisements
This entry was posted in Website. Bookmark the permalink.

5 Responses to MediaWiki Install Guide for 1and1

  1. jason n. says:

    thank you, sir or madam… found you through google, and i couldn’t be more thankful… never would’ve figured this out by myself.

    any thoughts as to why 1&1 handles directories named “config” strangely?

  2. IntoTheVoid says:

    Thanks man. Great find made my wiki install on 1and1 really easy.

  3. Goyal says:

    Hi,

    Thanks. I was facing the same problem. Resolved now 🙂

    Regards,
    Goyal

  4. Dustin says:

    Hi,
    I’m using mediawiki on 1and1, got it installed and running for about a month. So far so good. now I’m trying to add an extension, and the website comes up with an error, saying the command line “require_once…” in the LocalSettings.php can’t connect to the file, or the directory it’s supposed to get to. I called their tech support, and we figured it was due to my site being on a shared server, and thus not having root access. Know anything about this? Or a way around it?
    Thanks
    Dustin

  5. David Peers says:

    Thanks, this blog helped me in narrowing down some issues with the latest version, Why do they always leave out vital documentation when they upgrade? It may be trivial to them but not to me. I’m sure i’m not alone.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s