1&1 .htaccess Fix

December 10th, 2009  |  Published in Technology  |  4 Comments

Getting .htaccess files to work with 1 and 1 Hosting is a pain in the rear. I do not recommend using 1&1 as a web host under any circumstances, unless you get pleasure from frustration. If that is the case, then by all means use them.

Anyway, to get your .htaccess working, you might have to add these commands:

Options -Indexes +FollowSymLinks -MultiViews

RewriteEngine on
RewriteBase /

(If your app is in another directory than root, then you need to specify the subdirection, like RewriteBase /cms)

The “-MultiViews” is especially important. On most hosts you don’t have to specify such an esoteric option, but 1&1 isn’t just any host. They’re special.

Like what you see? Subscribe to the RSS feed.

Responses

  1. global says:

    December 30th, 2009 at 5:35 am (#)

    i almost blow my brain looking for this solution thank you very much.

  2. velezh says:

    February 13th, 2010 at 1:22 pm (#)

    Thx a lot!

  3. Webhosting says:

    October 25th, 2010 at 2:20 pm (#)

    If your app is in another directory than root, then you need to specify the subdirection, like .

  4. Ki Hulme says:

    March 23rd, 2011 at 6:09 pm (#)

    Had the htaccess working on a test server, pretty basic stuff
    But not on 1 and 1
    -MultiViews fixed it for me after 2 hours of searching
    Many thanks for the tip
    Yep… 1 and 1 very special

Leave a Response