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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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


1948 Views

Avatar
heidgert

Community Member, 16 Posts

1 August 2012 at 6:20am

I have just upgraded a 2.4x site to 3.0.1 successfully (http://www.music-streamer.com).

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

The problem I'm having is that when going to the admin url (http://www.music-streamer.com/admin) 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
ved</title></head>.<body
><h1>Object Moved</h1>Th
is document may be found
<a HREF="http://www.mus
ic-streamer.com/admin/pa
ges/">here</a></body>HTT
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
ation: http://www.music-
streamer.com/Security/lo
gin?BackURL=%2Fadmin%2Fp
ages%2F..Server: Microso
ft-IIS/7.0..X-Powered-By
: 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
</title></head>.<body><h
1>Object Moved</h1>This
document may be found <a
HREF="http://www.music-
streamer.com/Security/lo
gin?BackURL=%2Fadmin%2Fp
ages%2F">here</a></body>

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?