Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

How to set Missing.html for the error page

 
   Web Hosting Problem Solving Community! (Home) -> Apache RSS
Next:  using the perl module  
Author Message
edwardlyn

External


Since: Aug 08, 2003
Posts: 1



(Msg. 1) Posted: Fri Aug 08, 2003 6:08 am
Post subject: How to set Missing.html for the error page
Archived from groups: alt>apache>configuration (more info?)

I have created a missing.html file in my document root
(http://www.machilus.com/missing.html) and made the following
configuration:

#ErrorDocument 500 "The server made a boo boo.
# n.b. the single leading (") marks it as text, it does not get
output
#
# 2) local redirects
ErrorDocument 404 /missing.html
#ErrorDocument 403 /missing.html
#DrrorDocument 500 /missing.html

But when I randomly link to a page that doesn't exist, say,
http://www.machilus.com/fdadf.html, it won't link to the missing.html
file as specified above. Is there any other place I have to setup?

 >> Stay informed about: How to set Missing.html for the error page 
Back to top
Login to vote
user2375

External


Since: Jul 16, 2003
Posts: 13



(Msg. 2) Posted: Fri Aug 08, 2003 3:17 pm
Post subject: Re: How to set Missing.html for the error page [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <23764e19.0308080208.55de6bfc DeleteThis @posting.google.com>,
edwardlyn DeleteThis @yahoo.com (Edward Lin) wrote:

 > I have created a missing.html file in my document root
 > (http://www.machilus.com/missing.html) and made the following
 > configuration:
 >
 > #ErrorDocument 500 "The server made a boo boo.
 > # n.b. the single leading (") marks it as text, it does not get
 > output
 > #
 > # 2) local redirects
 > ErrorDocument 404 /missing.html
 > #ErrorDocument 403 /missing.html
 > #DrrorDocument 500 /missing.html
 >
 > But when I randomly link to a page that doesn't exist, say,
 > <a style='text-decoration: underline;' href="http://www.machilus.com/fdadf.html," target="_blank">http://www.machilus.com/fdadf.html,</a> it won't link to the missing.html
 > file as specified above. Is there any other place I have to setup?


if your missing.html reads "test", it's ok with your config.
You should test your 404 with something else than IE for windows, as
this browser won't show custom 404 if its size is less that 0.5 k
(approx). (only html size matters, images are not taken into account)

patpro<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: How to set Missing.html for the error page 
Back to top
Login to vote
edward4

External


Since: Aug 08, 2003
Posts: 1



(Msg. 3) Posted: Fri Aug 08, 2003 3:17 pm
Post subject: Re: How to set Missing.html for the error page [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thank you, it works....

patpro <patpro.pouet.TakeThisOut@archange.fr> wrote in message news:<patpro.pouet-BD3CF9.12172208082003.TakeThisOut@news.wanadoo.fr>...
 > In article <23764e19.0308080208.55de6bfc.TakeThisOut@posting.google.com>,
 > edwardlyn.TakeThisOut@yahoo.com (Edward Lin) wrote:
 >
  > > I have created a missing.html file in my document root
  > > (http://www.machilus.com/missing.html) and made the following
  > > configuration:
  > >
  > > #ErrorDocument 500 "The server made a boo boo.
  > > # n.b. the single leading (") marks it as text, it does not get
  > > output
  > > #
  > > # 2) local redirects
  > > ErrorDocument 404 /missing.html
  > > #ErrorDocument 403 /missing.html
  > > #DrrorDocument 500 /missing.html
  > >
  > > But when I randomly link to a page that doesn't exist, say,
  > > <a style='text-decoration: underline;' href="http://www.machilus.com/fdadf.html," target="_blank">http://www.machilus.com/fdadf.html,</a> it won't link to the missing.html
  > > file as specified above. Is there any other place I have to setup?
 >
 >
 > if your missing.html reads "test", it's ok with your config.
 > You should test your 404 with something else than IE for windows, as
 > this browser won't show custom 404 if its size is less that 0.5 k
 > (approx). (only html size matters, images are not taken into account)
 >
 > patpro<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: How to set Missing.html for the error page 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
html stats page generator. - hello does anyone know of a good html stats generator for windows? i'd be interested to create a stats page for my archives, as it receives quite a lot of traffic. i'd like to create a stats page with as diverse statistics as possible. many thanks ..

noindex.html page on my Apache 2.0.40 Redhat 9 Server - Since I didn't got a reply yet on my previous posting I might as well try this in a different format. (and different question style) The issue is that, what ever I change in the config, I continously get the noindex.html page saying that this is RedHat....

404 Error Page (PHP) - In httpd.conf, I put in this line. ErrorDocument 404 /404.html Now, when I go to www.myweb.com/123, I see the 404.html. But when I enter this line into the httpd.conf. ErrorDocument 404 /404.php And enter www.myweb.com/123, I get "The page canno...

505 error page - Hi All Don't know if this can be done, I have a shared hosting with an ISP and I want to restructure my directories on the server. I have various domains pointing to my site which point to sub directories, and most search engines have listed the sites.....

mod_throttle - error ### page? - -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Evening all =) I've had mod_throttle installed for some time, but never really configured a great deal (more for testing initially). While testing on a dev subdomain, once the quota was hit, the REQUESTed....
   Web Hosting Problem Solving Community! (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]