How to customize error pages?

Posted by Rollbase User on 03-Apr-2012 08:25

How can I customize the error pages, like the 404 page, etc? Does anyone know?

All Replies

Posted by Admin on 03-Apr-2012 09:01

Hi,



You have to have your own private instance and web-server, within the Apache web server setup add ErrorDocument 404 /filename.html onto the htpdocs directory and other dirs such that you'd like to have a custom error page.



You can read up on this more on http://httpd.apache.org/docs/2.0/mod/core.html#errordocument



Thanks

Piscoso Martin

Rollbase

Posted by Admin on 03-Apr-2012 09:12

Additionally you can edit the current 404 error page of your instance by navigating to the dir: C:\Tomcat\webapps\prod1\errors.



I would also take into consideration that this directory might get overridden when performing updates, so just have a copy of all your error pages.



This directory will only cater to the path https://instanceurl/prod1/

So that's only for the errors within that path.



For the other paths you'd most probably use Apache settings. I successfully edited my 404 on htdocs by use of the directory settings (post above).



Hope this helps.

Posted by Admin on 03-Apr-2012 09:31

Thanks Martin, I found the errors directory (which feels obvious in retrospect) and changed the things I wanted to. I appreciate the help.

Posted by Admin on 03-Apr-2012 09:38

(which feels obvious in retrospect) - made me laugh. =) lol

Glad to be of help

Posted by Admin on 03-Apr-2012 09:39

Navigate to C:\Tomcat\webapps\prod1\errors for prod1 errors.

This thread is closed