ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingASP Development

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 July 18th, 2000, 06:51 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 23
Custom Errors - IIS, SSL and ASP

<i><b>Originally posted by : MTB (magic321@worldnet.att.net)</b></i><br />I'm trying to replace Custom Errors for SSL specific error codes with a URL which points to an ASP script and having problems. The Custom Error codes for Non-SSL items work fine using the defaults, files or URL's - it's just the SSL ones causing a problem.<br /><br />The problem is that if you don't sign in thru SSL first, it won't re-direct to the ASP error page since you don't have the access yet. I'm trying to replace the error message and automatically take you to the "https" secure site if they only type in "http". This is instead of an ISAPI filter to automatically redirect them for other needed reasons... <br /><br />To get around calling the ASP page directly from the Custom Error (since it doesn't work) - it works if I use an html file and then include a META statment to redirect to an asp page from there. It seems to work fine as far as executing the ASP page but the Server parameter for PATH_INFO changes so when I try to get the Request.Server variables, the values are not the original URL the user typed but the path for the current ASP error page.<br /><br />For example)<br />1) user types in: http://www.website.com/mtb for a secure site<br />2) The custom error 403-calls: /test/mm/error.htm which in turn calls /test/mm/error.asp <br />3) The Path_Info variable has now changed from the original path info input from the user: /mtb to: /test/mm/error.asp<br /><br />Is there anyway to get the referring site before the redirection? I need to hold onto the original URL/Path... I hope this makes sense. Any ideas? Thanks!

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingASP Development > Custom Errors - IIS, SSL and ASP


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!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

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





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT