MS-PWS and custom error messages

Posted on 1999-07-05
Medium Priority
Last Modified: 2013-12-25
Here is a question I just can't locate the answer to. Mainly because the documentation sucks with Microsoft's Personal Web Server (PWS).

I would like to offer up custom error messages when a user requests a page that doesn't exist. So if my server sends a 404 error, I want my own graphic page to be sent too.

How can I do this with PWS?

I will increase the points if this is even posible and what I am offering isn't enough for your effort.
Question by:schworak
  • 2
LVL 11

Accepted Solution

mouatts earned 200 total points
ID: 1863768
If you look in c:/help/common (assume that your help is on c:) you will find a bunch of .htm files there names match up to the http error. Simply modify this page to customise the error message. So for a 404 edit 404.htm.

Incidentaly if you are using IIS as well these pages are shared so changing it will effect both servers unless you change the page that IIS uses.


Author Comment

ID: 1863769
Thanks! That was a big help.

It turned out to be c:\windows\help\common but close enough. I guess I should have just done a search for 404 in the first place.
LVL 11

Expert Comment

ID: 1863770
Yep sorry about that. I forgot that I moved all my help files.


Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Before you approach an Ionic Mobile App development company for developing mobile apps using the ionic framework, you must know why you should choose the framework. Let's try to understand that through this article.
These seven tips can help you create an extraordinary website, one that captivates audiences and has them wanting to return regularly for more. Keep reading to find out what your site is missing and what you need to add!
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
Suggested Courses

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question