Koozali.org: home of the SME Server

default 404 and IBAY index.html

Garret

default 404 and IBAY index.html
« 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

JonB

Re: default 404 and IBAY index.html
« Reply #1 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

JonB

Re: default 404 and IBAY index.html
« Reply #2 on: February 07, 2002, 01:03:05 AM »
OK, for 1

/var/log/httpd/error_log

or use server-manager "view system logs"

Jon

Garret

Re: default 404 and IBAY index.html
« Reply #3 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

JonB

Re: default 404 and IBAY index.html
« Reply #4 on: February 07, 2002, 01:39:37 AM »
Ok for the index.html

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

Jon

Garret

Re: default 404 and IBAY index.html
« Reply #5 on: February 07, 2002, 01:45:24 AM »
Perfect . . . one down :-)

Craig Foster

Re: default 404 and IBAY index.html
« Reply #6 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

Craig Foster

Re: default 404 and IBAY index.html
« Reply #7 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

Garret

Re: default 404 and IBAY index.html
« Reply #8 on: February 15, 2002, 06:12:54 AM »
Thank you sir, that was exactly what I was afater. :-)