Return to Main Page

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.

3 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

Leave a Reply