Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Upgrading SilverStripe /

Ask questions about upgrading SilverStripe to the latest version.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Wrong headers sent on 302 redirect

Go to End



Community Member, 16 Posts

1 August 2012 at 6:20am

I have just upgraded a 2.4x site to 3.0.1 successfully (

I am running it on Windows Server 2008 and IIS 7.

The problem I'm having is that when going to the admin url ( the browser gets stuck.

I have narrowed it down by using Fiddler, and it looks like the server is returning an invalid response. Where the HTTP headers should start it is some html returned instead.

Here is what is returned (text originally viewed in hex-mode, sorry for the formatting):

<head><title>Document Mo
><h1>Object Moved</h1>Th
is document may be found
<a HREF="http://www.mus
P/1.1 302 Found..Cache-C
ontrol: no-store, no-cac
he, must-revalidate, pos
t-check=0, pre-check=0..
Pragma: no-cache..Conten
t-Length: 0..Content-Typ
e: text/html; charset=UT
F-8..Expires: Thu, 19 No
v 1981 08:52:00 GMT..Loc
ages%2F..Server: Microso
: PHP/5.3.10..X-Controll
er: CMSPagesController..
X-Title: SilverStripe -
Pages..X-Powered-By: ASP
.NET..Date: Tue, 31 Jul
2012 17:49:45 GMT....<he
ad><title>Document Moved
1>Object Moved</h1>This
document may be found <a

This makes me have to do some manual refreshes to be able to log in.

Has anybody else had the same problems, or have a solution for this?