type this in...
cat >  /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/11ErrorDocs
ErrorDocument 500 /error/index.shtml
ErrorDocument 404 /error/index.shtml
ErrorDocument 401 /error/index.shtml
ErrorDocument 403 /error/index.shmtl
ErrorDocument 402 /error/index.shtml
Ctrl-z
create a file called index.shtml in /home/e-smith/files/primary/html/error/ with *something like* the following in there. 
We have a problem!
We had a problem when you clicked on the link to 
">
      
             (from the page 
      
      )     
 
    The actual
      error code was
      
      which usually means 
    
      
         | 
         | 
          There is something fishy going on...
          
          You don't have access to this item, or you entered the wrong
          information
          Click on the link above and possibly try again.
          
          Either you don't have access to this item.
                  This is for authorised employees only
          Trying again will not fix the situation.
          
          The item you are looking for isn't available, or has been moved
          Click on the link above and possibly try another way.
          This error has been forwarded to the webmaster to either fix or remove.
          
          Hmm, it looks as though our server is having some problems
          Click on the link above and possibly try again later.
          
          The special service you were directed to does not seem to be running
          Please try again at a later time.
          
                  
                  
                   
         | 
      
    
    If you continue to have problems, feel free   to inform the 
  -
   from 
  ">webmaster     
  
    It should explain most stuff, but mail me direct if you need more help, look at the resulting page at 
http://www.wwtgl.com.au/somenonexistantpageRegards,
Craig Foster