I solved it. It turned out it was a redirect in the response which was giving an error. When debug = 0, that error would not be shown and a 404 would appear instead. Firefox would then guess the 404 message (which was not actually sent)
Andrea
2010-05-17 15:30:53