PC Review


Reply
Thread Tools Rate Thread

404 page not found

 
 
guy
Guest
Posts: n/a
 
      10th Dec 2004
I'm using FrontPage to publish and my host is a Microsoft (I assume IIS)
Server. How do I set up a custom 404 error page. I've just moved my site
from an apache server to this new server. On the apache server it was done
through the .htaccess file.

Thanks


 
Reply With Quote
 
 
 
 
Stefan B Rusynko
Guest
Posts: n/a
 
      10th Dec 2004
Depends on your host and if they allow you access to the IIS control panel

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
_____________________________________________


"guy" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
| I'm using FrontPage to publish and my host is a Microsoft (I assume IIS)
| Server. How do I set up a custom 404 error page. I've just moved my site
| from an apache server to this new server. On the apache server it was done
| through the .htaccess file.
|
| Thanks
|
|


 
Reply With Quote
 
Jon Spivey
Guest
Posts: n/a
 
      10th Dec 2004
Hi,
In most cases you can set this through your control panel - basically
there's a list of HTTP error codes and you can specify custom pages for
any/all of them If it's not a control panel option email your host and ask.
Once you've this set up in IIS it's just a case of making your custom error
page(s) like you would any other page. Only difference is you'll need to
make any links in your error pages relative to your site root, eg <a
href="/folder/page.htm">page</a> or <img src="/images/pic.gif"> It's a good
idea to make a custom page for 500 errors (server/code error) as well as
404s. You can also log the error to a database and/or send yourself an email
when an error occurs. If you log 404s for favicon.ico you can also get a
measure of how many users add you to their favourites.

--
Cheers,
Jon
Microsoft MVP

"guy" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I'm using FrontPage to publish and my host is a Microsoft (I assume IIS)
> Server. How do I set up a custom 404 error page. I've just moved my site
> from an apache server to this new server. On the apache server it was done
> through the .htaccess file.
>
> Thanks
>
>



 
Reply With Quote
 
guy
Guest
Posts: n/a
 
      10th Dec 2004
Thanks Jon (and Stefan in separate message).

I finally discovered from my hosting company that calling it error404.htm
and putting it in the root does the trick so I'm half way there. Now I've
got a custom page and links to the site map, search page etc.

But Jon - now you've opened a can of worms! Now I want it all!

How do I:
1. send myslef an email with the link that the surfer tried to open (that
returned 404) ?
2. log 404s for favicon.ico ?

I think that my host actually lists the favicon.ico as a not found page in
my statistics. I didn't realize that this was because people were adding the
page to their favorites?

Also why would I want a 500 custom error page? And what would I put on this
page that would help me or the surfer?

Thanks for all your help.


"Jon Spivey" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Hi,
> In most cases you can set this through your control panel - basically
> there's a list of HTTP error codes and you can specify custom pages for
> any/all of them If it's not a control panel option email your host and
> ask. Once you've this set up in IIS it's just a case of making your custom
> error page(s) like you would any other page. Only difference is you'll
> need to make any links in your error pages relative to your site root, eg
> <a href="/folder/page.htm">page</a> or <img src="/images/pic.gif"> It's a
> good idea to make a custom page for 500 errors (server/code error) as well
> as 404s. You can also log the error to a database and/or send yourself an
> email when an error occurs. If you log 404s for favicon.ico you can also
> get a measure of how many users add you to their favourites.
>
> --
> Cheers,
> Jon
> Microsoft MVP
>
> "guy" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> I'm using FrontPage to publish and my host is a Microsoft (I assume IIS)
>> Server. How do I set up a custom 404 error page. I've just moved my site
>> from an apache server to this new server. On the apache server it was
>> done through the .htaccess file.
>>
>> Thanks
>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sending htp response 404 not found for a page when anonymous usersgo to it and showing the valid page when a logged in user sees it. Andy B. Microsoft ASP .NET 0 23rd Dec 2008 03:22 PM
IE6 - In Page Advertisements wont' display (Page not found) Mark Windows XP Internet Explorer 3 4th Jan 2005 05:19 AM
making a custom 404 page not found page =?Utf-8?B?RmlycWlu?= Microsoft Frontpage 4 28th Nov 2004 10:09 PM
Page not Found but found on second attempt JRam Windows XP Internet Explorer 1 2nd Jul 2004 12:32 AM
page not found, page cannot be displayed, DNS error Justin Windows XP Internet Explorer 1 27th Jul 2003 03:10 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:26 PM.