usevhdl
Forum Replies Created
-
Mine did this once. For some reason extra non-printing characters got into the .htaccess file. The characters in mine were before the first line. They could not be deleted with my editor.
Instead, I copied the .htaccess file to another name. Created a new .htaccess file. Typed in the first line. Then copied the rest of the lines using cut and paste. Then it worked.
Not sure why it happened. I may have been better-wp-security on its own, it may have been that I had the .htaccess open in filezilla at the wrong time. If yours ends up being the same, please let the author know as a 1 issue like this may have just been me bumbling around.
Found it! There is evil binary character at the beginning of my .htaccess file.
I got rid of it by creating a new file. Copying all except the first line to the new file. I manually retyped the first line. Then I deleted the evil file.
In Mingw32:less, the characters show up as <U+FEFF>. In Cygwin:more, the characters show up as <EF><BB><BF>
It either happened when I added the HackRepair.com Blacklist or the -Indexes option.
I am also getting a 500 error.
I deleted everything. Re-added a very simple .htaccess that requires a password and a place holder webpage, and it still has the 500 error.
My site is a hosted site running apache. Does better-wp-security change something behind the scenes that I cannot change back without direct access to apache.