More on NN4 and Custom 404 page

by Dave Alders <yldman(at)sierra.net>

 Date:  Tue, 28 Nov 2000 04:21:26 +0000
 To:  hwg-techniques(at)hwg.org
  todo: View Thread, Original
Hi,

OK, I need some help now.  Further investigation has shown
that one must also use absolute paths to images or NN4
uses the relative path relative to the referring page, thereby
breaking all the images if that page is in a different dir than
the custom 404 error page.

Note also that Apache recommends against using the absolute
path in the ErrorDocument statement as then it will cause the
client to NOT return a 404 status code -- which you may want
for a variety of reasons (you can see in your access logs, etc.).

The only solution I have right now is to use full paths (http://...)
on all the image tags on the custom 404 page. If anybody has
a better idea, I'd love to hear it.

TIA

Dave

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA