The MU forums have moved to WordPress.org

htaccess got hosed (3 posts)

  1. andrea_r
    Moderator
    Posted 17 years ago #

    I have no idea how this happened, other than a server hiccup, but for some reason, my htacces fiel got hosed, chaged or *something*.

    This is what it says now:

    #php_flag register_globals 0

    # Rewrite http://www.domain.com to domain.com

    #uploaded files

    RewriteEngine on
    RewriteCond %{HTTP_REFERER} !^http://homeschooljournal.net/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://homeschooljournal.net$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.homeschooljournal.net/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.homeschooljournal.net$ [NC]
    RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]

    Cna soemone confirm that this is what the default instalation leave,s becuase it don't look right to me, and could some kind soul paste the correct one? I have a local copy running, but the completly different htacces added to that seems to bork other things. (or maybe I should have just replaced it. I'm too upset to think clearly right now.)

  2. andrea_r
    Moderator
    Posted 17 years ago #

    *sigh*
    Nevermind. I hate Netadmin and processes that REWRITE everythign instead of adding lines to what's there.

  3. Crimsontech
    Member
    Posted 17 years ago #

    [edit: ok never mind]

About this Topic

  • Started 17 years ago by andrea_r
  • Latest reply from Crimsontech