Microsoft IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationMicrosoft IIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old December 22nd, 2004, 12:08 PM
pastis pastis is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 5 pastis User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m 8 sec
Reputation Power: 0
IIS 403;4 custom error

I'm running IIS 5.0 and am having problems getting a customized error to work properly. I have a site that has a certificate on a secure directory. The default page for the site simply performs a redirect of the user to the logon page for the site, e.g., response.redirect ("https:\\www.mysite.com\secure\logonpage.asp"). I've configured the 403;4 custom error with a non-secure page that takes the user to an error messaging page which is also non-secure. If I turn off SSL within my browser and try to access https:\\www.mysite.com I receive "The page cannot be displayed" with the "Cannot find server or DNS Error" error. If I try to access the logon page directly with http:\\www.mysite.com\secure\logonpage.asp the site properly directs me to the error page. What am I missing?

Reply With Quote
  #2  
Old December 22nd, 2004, 06:54 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 5 Days 9 h 16 m 25 sec
Reputation Power: 182
Google turned up this, perhaps it will help

http://www.issociate.de/board/post/152620/SSL_Redirect.html
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain

Reply With Quote
  #3  
Old December 23rd, 2004, 10:42 AM
pastis pastis is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 5 pastis User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m 8 sec
Reputation Power: 0
Doug: The thread you directed me to handles customizing an error to translate http to https. My problem is if I have SSL turned off on my browser accessing the web site doesn't seem to hit the customized error page. It goes directly to the DNS error.





Quote:
Originally Posted by Doug G
Google turned up this, perhaps it will help

http://www.issociate.de/board/post/152620/SSL_Redirect.html

Reply With Quote
  #4  
Old December 23rd, 2004, 11:58 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 5 Days 9 h 16 m 25 sec
Reputation Power: 182
I don't know, sorry.

Reply With Quote
  #5  
Old December 25th, 2004, 03:44 PM
A2k's Avatar
A2k A2k is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 166 A2k User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 h 44 m 10 sec
Reputation Power: 6
Just a thought... what is generating the error? IIS or Internet Explorer (assuming thats what you're using)?

Also (I'll check this when I start doing some dev work again in mid jan) Can't you set custom errors for a specific directory in IIS, perhaps you have defined global ones, but the directory you're attempting to browse isn't configured correctly?

Reply With Quote
  #6  
Old December 26th, 2004, 02:25 PM
pastis pastis is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 5 pastis User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m 8 sec
Reputation Power: 0
I configured the 403;4 at the Default Web Site level so it covers it all the way to the directory with security. As for what is generating the, I'm not clear as to where the DNS error comes from.





Quote:
Originally Posted by A2k
Just a thought... what is generating the error? IIS or Internet Explorer (assuming thats what you're using)?

Also (I'll check this when I start doing some dev work again in mid jan) Can't you set custom errors for a specific directory in IIS, perhaps you have defined global ones, but the directory you're attempting to browse isn't configured correctly?

Reply With Quote
  #7  
Old December 26th, 2004, 02:55 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 5 Days 9 h 16 m 25 sec
Reputation Power: 182
Maybe you can look in your IIS logfile and see what the requested url seen by IIS was (that didn't work). I haven't done much with SSL, sorry I'm not much help on this one.

Reply With Quote
  #8  
Old January 20th, 2005, 12:46 PM
pastis pastis is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 5 pastis User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m 8 sec
Reputation Power: 0
Opened an incident ticket with Microsoft and they inform me that this custom error isn't used for this purpose. The 4.03;4 is to inform users that they are trying to hit a page using http when the protocol required is https. Microsoft also stated that what I want to do is controlled within the browser and allowing developers to capture this information would open up security holes in IE.

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationMicrosoft IIS > IIS 403;4 custom error


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump





 Free IT White Papers!
 
Create the Optimal Architecture for your Critical Applications
Warburton's the largest independently owned bakery in the UK faced a number of difficult challenges in providing the most robust yet efficient IT infrastructure for their organization's success. IBM's services combined with their xSeries servers created the perfect platform for their SAP environment with sufficient flexibility, and did so in very time effective fashion.

 
Five Best Practices for Deploying a Successful Service-Oriented Architecture
This white paper describes the benefits you can expect with SOA, and how IBM can help take your business there.

 
Gartner Magic Quadrant for Application Delivery Controllers
Gartner summarizes its view on Application Delivery Controllers, evaluates strengths and weaknesses of solutions, and provides Magic Quadrant reporting for a quick comparison across all vendors. Learn from Gartner how you can benefit from an all-in-one device like Citrix NetScaler that delivers the highest levels of availability, performance and security.

 
Knowledge is Power
What you don't know can hurt you, and is likely costing you money and increasing your security risks during an era of scarce resources. This white paper proposes six key strategies that enterprise security managers can use to improve their network defense posture.

 
Rationalizing the Multi-Tool Environment
The rationalized multi-tool approach is flexible, scalable and cost effective. It provides the necessary input to the IT service management business processes. It preserves prior investments in monitoring tools, empowers technologists to select the best tools with which to do their jobs, and enhances effective response to incidents.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2010 by Developer Shed. All rights reserved. DS Cluster 8 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek