Forum Moderators: buckworks & webwork

Message Too Old, No Replies

.htaccess in IIS

help with custom 404 error msg.

         

smunta

2:48 pm on Feb 10, 2004 (gmt 0)

10+ Year Member


I am trying to put up a custom 404 error msg on my website which is running on IIS. Can anybody help me with that please. Thanks in advance.

Cheers,
M.

Double_Dark

6:52 pm on Feb 10, 2004 (gmt 0)

10+ Year Member



Create your custom error page say error.html and put it where you want to in your site (/ or /errors).

Then in IIS, select the site, right click and select properties.

There should be a tab at the top that says "Custom Errors"

Scroll down and select the 404 error and hit the "edit properties" button.

Change the message type to URL and then type in the absolute path to your error page(/error.html or /errors/error.html).

Hit the "OK" button then hit the "APPLY" button.

smunta

7:02 pm on Feb 10, 2004 (gmt 0)

10+ Year Member


Thanks a lot, DD. That worked.

Cheers,

M.