Many thanks! I created the file from within CPanel, but I didn't set any passwords or anything. Is that ok?

Then I just ftp'ed my way in and edited the file to include the code you mentioned.