Skip to main content

htaccess issues

Comments

5 comments

  • quietFinn
    Even when I upload an empty htaccess I get this.

    Do you mean you uploaed an empty .htaccess (starting with a dot)?
    0
  • PCZero
    Yes
    0
  • quietFinn
    Then I suspect you are uploading the .htaccess to wrong place.
    0
  • PCZero
    You suspect incorrectly.
    0
  • cPanelAnthony
    Hello! Theunicode byte order mark for UTF-8 and apache thinks it's garbage characters (on linux at least). In windows, this BOM is used to let Windows know that the file is encoded as UTF-8 instead of whatever default windows text file uses (I think it's UTF-16, little endian). You just need to go use your favorite linux text editor, and delete those characters. Depending on what editor you use, they may not even show up, so you may need to do something like "select from the end of the word RewriteEngine to the beginning of the line, and delete selection, then, from the beginning of the line, just type RewriteEngine by hand. There's a chance that the htaccess file won't work properly once you move it back to Windows after removing the BOM, I'm not really sure.
    0

Please sign in to leave a comment.