GamerBlake
07-11-2003, 08:05 AM
I want to change the error page on my website to a shtml file instead of a html file. Talking to the server support guy, er, I'll just paste the transcript:
GamerBlake: Subject: missing.HTML |
I was just wondering if you can have a missing page that's SHTML instead of HTML?
If so, how would I implement it?
A: Jul 10 10:36 Support 24: Subject: missing.HTML |
Hello,
You can not do this directly. In order to achieve this you will have to implement .htaccess file and set the error documents to another value than the standard missing.html page. Then you will have to create it and upload it to the given folder. Please let us know if you need any additional assistance.
Best Regards,
Support
GamerBlake: Subject: missing.HTML |
Ok then, the next obvious question is how does one go about implementing a .htaccess file?
I have no programming skill at all, so with that in mind, what needs to be done exactly? Can it all be done from my side?
A: Jul 10 11:23 Support 24: Subject: missing.HTML |
Hello,
Yes it can all be done from your side but the whole procedure will require a lot of programming which we can not do for you.
Create a .htaccess file from the CP-->File Manager in the folder where you will want your missing page to be displayed. All you have to put in is this line where the error_page.html is the name of your custom built error page
ErrorDocument 404 /error_page.html
The rest of the procedure (creating the page) you have to complete yourself. Please let us know if you need any help of further advice.
Best Regards,
Support
Ok, so I can changed the "ErrorDocument 404 /error_page.html" bit myself, but thats about it.
Can I copy the code from another .htaccess file (if it's standard) and just change that part, or am I looking at a major job I'd be best just not to f-around with?
Thoughts?
GamerBlake: Subject: missing.HTML |
I was just wondering if you can have a missing page that's SHTML instead of HTML?
If so, how would I implement it?
A: Jul 10 10:36 Support 24: Subject: missing.HTML |
Hello,
You can not do this directly. In order to achieve this you will have to implement .htaccess file and set the error documents to another value than the standard missing.html page. Then you will have to create it and upload it to the given folder. Please let us know if you need any additional assistance.
Best Regards,
Support
GamerBlake: Subject: missing.HTML |
Ok then, the next obvious question is how does one go about implementing a .htaccess file?
I have no programming skill at all, so with that in mind, what needs to be done exactly? Can it all be done from my side?
A: Jul 10 11:23 Support 24: Subject: missing.HTML |
Hello,
Yes it can all be done from your side but the whole procedure will require a lot of programming which we can not do for you.
Create a .htaccess file from the CP-->File Manager in the folder where you will want your missing page to be displayed. All you have to put in is this line where the error_page.html is the name of your custom built error page
ErrorDocument 404 /error_page.html
The rest of the procedure (creating the page) you have to complete yourself. Please let us know if you need any help of further advice.
Best Regards,
Support
Ok, so I can changed the "ErrorDocument 404 /error_page.html" bit myself, but thats about it.
Can I copy the code from another .htaccess file (if it's standard) and just change that part, or am I looking at a major job I'd be best just not to f-around with?
Thoughts?