jpw
2008-05-27 12:39:23 UTC
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!
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!