View previous topic :: View next topic |
Author |
Message |
dan Guest
|
Posted: Sun Nov 24, 2002 8:38 pm Post subject: error messages |
|
|
I want to put some error messages on but i dont have the slightest idea of what to do, like where they have to go and stuff like that i have read the help file on it and dont understand. Can anyone help? |
|
Back to top |
|
|
!Keys -
Joined: 23 Nov 2002 Posts: 156 Location: Holland, Enschede
|
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Mon Nov 25, 2002 2:59 am Post subject: Re: error messages |
|
|
dan wrote: | I want to put some error messages on but i dont have the slightest idea of what to do, like where they have to go and stuff like that i have read the help file on it and dont understand. Can anyone help? |
Here is a typical case: You want to have your custom 404 error page.
First of all, use your HTML editor to create such a page. Save it as my404.html for example and put it in your htdocs/ directory.
Now open the console and go to Server Configuration > Advanced > Custom Error Pages.
Press add, enter 404 in the Error code field and /my404.html in the associated URL field.
Press OK, and then press restart. That's it.
You can do the same for other errors. You can also read the documentation section related to the custom error pages for more information. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
!Keys -
Joined: 23 Nov 2002 Posts: 156 Location: Holland, Enschede
|
Posted: Mon Nov 25, 2002 3:01 pm Post subject: Re: error messages |
|
|
aprelium wrote: | dan wrote: | I want to put some error messages on but i dont have the slightest idea of what to do, like where they have to go and stuff like that i have read the help file on it and dont understand. Can anyone help? |
Here is a typical case: You want to have your custom 404 error page.
First of all, use your HTML editor to create such a page. Save it as my404.html for example and put it in your htdocs/ directory.
Now open the console and go to Server Configuration > Advanced > Custom Error Pages.
Press add, enter 404 in the Error code field and /my404.html in the associated URL field.
Press OK, and then press restart. That's it.
You can do the same for other errors. You can also read the documentation section related to the custom error pages for more information. |
you always know better :cry:
is it possible to use 404.PHP also? _________________ !Keys || MwM^computerware |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Tue Nov 26, 2002 7:37 am Post subject: Re: error messages |
|
|
!Keys wrote: | is it possible to use 404.PHP also? |
Yes, you can use anything the web server can display in normal time (cgi scripts, SSI pages, images, static html, whatever...) _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
|