Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Garret on February 06, 2002, 11:58:21 PM

Title: default 404 and IBAY index.html
Post by: Garret on February 06, 2002, 11:58:21 PM
Okay, I thought I had found it before but kind find them now. would somebody please be so kind as to tell me where I can find two files....
1. the page that displays when the files isn't found on the server
2. the index.html that is generated for ever ibay upon creation.

Thanks
Title: Re: default 404 and IBAY index.html
Post by: JonB on February 07, 2002, 12:55:13 AM
Can you be a bit more specific about 1

as for 2
/home/e-smith/files/ibays/ibay_name/html/index.html

Jon
Title: Re: default 404 and IBAY index.html
Post by: JonB on February 07, 2002, 01:03:05 AM
OK, for 1

/var/log/httpd/error_log

or use server-manager "view system logs"

Jon
Title: Re: default 404 and IBAY index.html
Post by: Garret on February 07, 2002, 01:07:41 AM
The curse of being me . . . the brain is always running 1000 miles an hour and I'm never very clear I'm afraid.

Where are the template files that the resulting files are generated from?

As in I want to customize both my 404 error page and the index.html that is created in each ibay.

Thanks
Title: Re: default 404 and IBAY index.html
Post by: JonB on February 07, 2002, 01:39:37 AM
Ok for the index.html

/etc/e-smith/skel/ibay/html/

Jon
Title: Re: default 404 and IBAY index.html
Post by: Garret on February 07, 2002, 01:45:24 AM
Perfect . . . one down :-)
Title: Re: default 404 and IBAY index.html
Post by: Craig Foster on February 13, 2002, 06:18:27 PM
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/somenonexistantpage


Regards,

Craig Foster
Title: Re: default 404 and IBAY index.html
Post by: Craig Foster on February 14, 2002, 07:58:49 AM
Actually, try http://www.worldwidepcrentals.com/somenonexistantpage

This machine (also ours) has the code from above.


Craig Foster
Title: Re: default 404 and IBAY index.html
Post by: Garret on February 15, 2002, 06:12:54 AM
Thank you sir, that was exactly what I was afater. :-)