BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

IIS custom error messages

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Isapi-WebBroker
View previous topic :: View next topic  
Author Message
Holger Dors
Guest





PostPosted: Wed Feb 14, 2007 9:34 pm    Post subject: IIS custom error messages Reply with quote



Hello,

I'm trying to setup IIS6 in such a way that it'll display it's custom
error message when my ISAPI App sends a resultcode of 403 or 404; so far
I hadn't had any luck.

Is this possible? If so, how? Currently I'm sending a very small
response as well, e.g. "403 Forbidden": is this the problem?

TIA,
Holger
Back to top
Richard Bakos
Guest





PostPosted: Thu Feb 15, 2007 3:07 am    Post subject: Re: IIS custom error messages Reply with quote



Holger Dors wrote:

Hi Holger,

Quote:
I'm trying to setup IIS6 in such a way that it'll display it's custom
error message when my ISAPI App sends a resultcode of 403 or 404; so far
I hadn't had any luck.

You can setup IIS to respond with custom pages based on the error code.

Right click on the site -> properties -> Custom Errors. From this tab
you can map any HTTP error code you want to a custom HTML page.

Rich Bakos
Back to top
Holger Dors
Guest





PostPosted: Thu Feb 15, 2007 3:31 pm    Post subject: Re: IIS custom error messages Reply with quote



Hello Richard,

many thanks for your answer.

Quote:
You can setup IIS to respond with custom pages based on the error code.

Right click on the site -> properties -> Custom Errors. From this tab
you can map any HTTP error code you want to a custom HTML page.

That was what we'd tried already, but we couldn't get this to work. To
start with, there is no plain "403" Error, there is always some sub
error code; and I'm not sure if or how I could set this.

Holger
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Isapi-WebBroker All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.