Sienn Forum
»
Additional Information
»
Windows 2003 Server
»
Add customErrors for a page (mode="RemoteOnly")
Rank: Administration
Groups: Moderators, Administration, Member Joined: 10/8/2008(UTC) Posts: 44
|
- At SEO url settings, add /errorpage.html and bind it to a text. Modify this text with a nice message.
- Change this in the web.config: (it's probably allready there but on "Off". Do not add them twice, you'll get an error 500.
Code:
<customErrors mode="RemoteOnly" defaultRedirect="errorpage.html">
<error statusCode="404" redirect="errorpage.html"/>
<error statusCode="403" redirect="errorpage.html"/>
</customErrors>
- After that, the "root-dir" (virtual root) of this website is has to go fromt virtual dir to virtual application otherwise you get an .NET error on the website.
In IIS, rightclick on virtual-root dir, choose convert to application.
Edited by user Friday, November 2, 2012 11:58:52 AM(UTC)
| Reason: Not specified
|
|
|
|
Sienn Forum
»
Additional Information
»
Windows 2003 Server
»
Add customErrors for a page (mode="RemoteOnly")
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The Sienn Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close