 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Holger Dors Guest
|
Posted: Wed Feb 14, 2007 9:34 pm Post subject: IIS custom error messages |
|
|
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
|
Posted: Thu Feb 15, 2007 3:07 am Post subject: Re: IIS custom error messages |
|
|
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
|
Posted: Thu Feb 15, 2007 3:31 pm Post subject: Re: IIS custom error messages |
|
|
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 |
|
 |
|
|
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
|
|