IIS Using Custom Error
- From: jpw <jwilson@xxxxxxxxxxx>
- Date: Tue, 27 May 2008 05:39:23 -0700 (PDT)
I'm having problems getting custom error messaging working. I have
configured this properly in simple, single site IIS configurations.
This particular deployment involves WSS and virtual directories.
Right clicking on the site within IIS admin, properties, I have
selected the CUSTOM ERROR tab and changed all 404 errors to use my
custom html file. Also, under the ASP.NET tab, I have turned the
Custom error mode "ON" and supplied the default redirect URL. I
stopped and started IIS.
If I type in a bogus url (non-aspx), I get the standard 404 error.
The same is true when I request a bogus .aspx page. I created a
folder at the doc root of my virtual web server called
"custom_error". I put my custom error .aspx file in this directory.
If I request a bogus url like: www.mycompany.com/bogus.html or
www.mycompany.com/bogus.aspx I receive the standard 404 error.
If I request a bogus ur like: www.mycompany.com/custom_error/bogus.html
OR www.mycompany.com/custom_error/bogus.aspx then I *DO* get my
error.
I'm confused!
.
- Prev by Date: Sharepoint Office 2007 Enterprise server on Windows Server 2008
- Next by Date: Uploading large document file in TFS
- Previous by thread: Sharepoint Office 2007 Enterprise server on Windows Server 2008
- Next by thread: Uploading large document file in TFS
- Index(es):
Relevant Pages
|