|
Home > Archive > Web Servers on Windows > April 2004 > Custom 404 error page, windows 2003, shared hosting
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Custom 404 error page, windows 2003, shared hosting
|
|
|
| Hello this is robert,
I need some suggestion,
I have a website, hosted in windows 2003 server,shared hosting.
I would like to have a custom 404 error page, for missing files.
In the help file of my internet provider they said to do it in .NET,
like this
web.config
<configuration>
<system.web>
<customErrors mode="On" defaultRedirect="error.aspx">
<error statusCode="404" redirect="404.aspx" />
</customErrors>
</system.web>
</configuration>
but i would like to use it also for
missing .html
missing directories
missing .asp
Any Help ?
Thanks.
Robert.
|
|
|
|
|