shtm pages & error messages

They have: 54 posts

Joined: Oct 2001

We use some SSI on our site and therefore most of our filenames end in .shtm. I've recently created custom error pages for the site, however, have noticed that if the 'page not found' has an shtm ending then the standard Microsoft IE error message is shown and not the custom ones I've created. The custom error pages show up for .asp and other page types I've tested, but not shtm.

Chances are that 404 and other errors are likely to be triggered by an shtm URL on our site. FYI the site is hosted on an NT server.

Any clues would be much appreciated!

Bug

They have: 18 posts

Joined: Apr 2003

Um.. IE displays its own friendly error messages if the file size of the error is less than 10K.

So try filling up the .shtm error page with 10K+ code ( junk Laughing out loud ) and check it out if it is displayed in IE Smiling

Cheers,

Allwin Agnel - [email protected]
Neutral Web - Redefining Hosting - Multiple Domain Hosting
http://www.neutralweb.com - Rock solid DUAL XEON Servers.
http://forum.neutralweb.com - Check out what our clients think about us.

They have: 93 posts

Joined: Jun 2003

Not knowing if Apache or IIS is sued on the server, I would have to guess at this, but normally it is common for the error page configuration to require a certain file type. Contact your host and ask when error page types are supported.

If you can only use HTML, you can use a meta refresh to another page, or a javascript code to redirect them to an error.shtm page from an error.htm

[Design Alpha] -Web Services : Design,Hosting,Advertising,Software
Ask about custom pricing on hosting!!
Site Assets: [UltraGaming.com] [Blades of Warcraft]

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.