Corrected ignored lines

The exclamation mark should be at the start of the line.

Also added .htaccess to the ignored files.