For fucks sake I just spent 50 minutes trying to fix it: I just had to append a / . Thanks Safari!!!!