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:
The document name you requested (
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.