Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

MS-PWS and custom error messages

Posted on 1999-07-05
3
Medium Priority
?
127 Views
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.
0
Comment
Question by:schworak
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 11

Accepted Solution

by:
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.

Steve
0
 
LVL 3

Author Comment

by:schworak
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.
0
 
LVL 11

Expert Comment

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

Steve
0

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
This video teaches users how to migrate an existing Wordpress website to a new domain.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

670 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