On Sat, Aug 3, 2013 at 11:46 AM, Karim Geiger <gei...@b1-systems.de> wrote:
> Am 02.08.13 18:03, schrieb Miguel Guedes:
> > This is strange. I've just found out that the headers are sent
> > correctly if I access the website outside of localhost. I don't
> > understand why.
> I also don't. I've tried the exactly same code you posted on my
> localhost as well and it worked all properly. Weird behaviour, can
> anyone explain why this happens?
Could it be that you're actually ending up with a different site because
you have configured your vhost to a certain domain?