1and1 and mod_rewrite (4 posts)

  1. criticali
    Posted 11 years ago #

    Does anyone know if 1and1.com's 3-years-for-free account have the mod_rewrite thing activated automatically? If not, any idea on how to edit the .htaccess file to turn it on?

  2. carthik
    Posted 11 years ago #

    I am on 1and1.com and I can use rewrite with no problems. create a new file called .htaccess with your rules in it and upload it to the correct directory, or use the ssh access to do the same.

  3. criticali
    Posted 11 years ago #

    Cool... but what should the new rules be? Can I just type in "RewriteEngine on" at the bottom of the .htaccess text, save it, upload it and be done?
    I'm completely inexperienced in coding, so this is all new to me.

  4. criticali
    Posted 11 years ago #

    Thanks Matt, that'll come in handy once I'm fully up and running. However, in the meantime, I don't know what I need to do with the information that's contained in the .htaccess file. Remember, I'm completely clueless about this; I don't know if it's ok to have just a blank file for .htaccess, or what.
    Here's what's currently in my .htaccess file, with all numbers X'ed out:
    Satisfy any
    Order Deny,Allow
    Allow from xxx.xx.x.x/xx
    Allow from xxx.xxx.xx.xx/xx
    Allow from xxx.xxx.xx.xxx
    Deny from all
    RemoveType .html .gif
    AuthType Basic
    AuthName "Access for /logs"
    AuthUserFile /kunden/homepages/xx/xxxxxxxxx/htpasswd
    require user xxxxxxxxx
    Now, where exactly here do I add any new rules, or a command like "RewriteEngine on" to activate mod_rewrite, and/or make this all optimal for WordPress? Do I delete any or all of the above?
    Thanks in advance. I'm sure this seems like an incredibly dense thing to ask to some, but I'm in uncharted territory.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.