SSH
chmod g-w . - This changes the permissions of directory - i.e. prevents apache from being able to write to a directory - Check out 'Creating ssh directory - change apache permissions' in tips