Internet Related/Filtering/Firewall Thread, IIS problems http to https redirection in Technical; Right. We have Serco Facility and ePortal. I've got external accss up and running, using a reverse proxy sorted out ...
25th February 2009, 12:38 PM #1
IIS problems http to https redirection
Right. We have Serco Facility and ePortal. I've got external accss up and running, using a reverse proxy sorted out by county. I've got IIS set up so that requests to http://school.LEA.org.uk go straight to the ePortal folder. What I'm trying to do now is set things up so that, not only is SSL required, but users are redirected to an SSL version of sPortal automatically.
Can i get this to work? No i can't.
I've tried creating a custom asp or html pages containing either redirection code gleened from various sources, set these as the error page for the http 403.4 error as advised, and set SSL access only on the relevant websites.
At best I get a 401 (page not found error); at worst I see actual asp code displayed on screen and not parsed correctly.
Any clues? Obviously i want SSL setup and working before we start letting anyone access from offsite..
Last edited by cheredenine; 25th February 2009 at 12:44 PM.
IDG Tech News
25th February 2009, 12:45 PM #2
401 isn't a page not found error, that'd be 404. Usually 401 is to do with authentication.
Originally Posted by cheredenine
The HTTP status codes in IIS 7.0 - IIS HTTP status errors.
If you're getting the 401 error, check the authentication methods you're permitting.
25th February 2009, 12:55 PM #3
My mistake its a 403 error - but i can't work out quite which one as it doesn't seem to match any of the template error pages on the server. All the template 403 errors on the server have the .xx number to specify the specific reason and theres one generic 403 page, but none seem to match what i'm getting..
25th February 2009, 01:02 PM #4
If you check the IIS logs for the site it should give you the full error, including the substatus. It'll also tell you exactly what caused the error, since 403 describes some sort of forbidden action on the part of the client.
Originally Posted by cheredenine
If its 403.4 then SSL is being required, and its forbidding access without it. 403.5 would be 128 bit SSL required.
Other possibilities which I can think of would be 403.7 (requires client certificate), 403.13 (client certificate has been revoked), or any of the others listed on the Microsoft KB article.
25th February 2009, 01:38 PM #5
Right, from the IIS logs relevant to today and my test machine, i get a 403 error under the cs(User-Agent) heading, then a 4 under sc-status and a 5 under sc-substatus. Not sure if the latter two headings are linked to the first, but can't see anywhere else where a more detailed list of the error exists.
25th February 2009, 01:42 PM #6
By the looks of it in that case, your redirection page is requiring SSL. Since its not an SSL site, its then refusing to service the client's request.
On the plus side, your SSL is working.
25th February 2009, 01:51 PM #7
Just went back to it, took another look, required SSL on the default website, switched the SSL requirement off for the redirect page and BAM! it works.
But, but, but... This is what i did before, i'm positive! I think it was just being difficult and playing hard to get until i was forced to ask questions about it online. Bloomin' thing.
Thanks for your help!
27th February 2009, 06:14 PM #8
- Rep Power
A better way would be to rewrite the custom error page to redirect, or (if the 403 error code permits a URL) simply send the user to the https page.
By turning off "Require SSL", users could remove the s from https and get unencrypted access (why they would I don't know, but they could).
Last Post: 12th December 2008, 04:10 PM
By timbo343 in forum Virtual Learning Platforms
Last Post: 12th February 2008, 10:59 AM
By boomam in forum Wireless Networks
Last Post: 16th January 2008, 07:11 PM
By GrumbleDook in forum Windows
Last Post: 3rd September 2006, 10:37 PM
By ken_kaniff in forum Windows
Last Post: 4th January 2006, 06:18 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)