- domain name in ege-webclient/WEB-INF/web.xml. You need to edit the file to add your domain name and port, e.g. instead of:
If you leave the localhost settings in place, it might work for some browsers, but other browsers will not render the site, as they will consider the website is trying to do cross-site scripting (as localhost is a different domain name from www.your-domain.com).
There is also some configuration which is coded in Java source files. If you have access to them, you can change these too, otherwise it is required that the files are located exactly where the servlet is trying to find them. Sometimes these locations are being referred to from several different places, so you might want to double check that you changed all of them.
- tei-config directory – this directory contains links to stylesheets and local directory, both of which are needed for performing conversions. This directory should be located in WEB-INF/lib/ in the main webservice directory.
- webservice/WEB-INF/lib/ – this directory should also contain all the necessary jar files (see the list below).
- webservice/WEB-INF/config/ – this folder contains fileExt.xml file, which provides appropriate file extensions for all mime-types used in OxGarage.
- webservice/WEB-INF/locale/ – here are located files hodling conversion properties descriptions displayed to the user. There is one file per language (currently English and Polish, but there are some things missing in the Polish version). However, as far as I know, the feature of choosing a language is not implemented yet. Nonetheless, at least one of these files is still required.
This service requires read permissions for the stylesheet directory and for the local directory, which are being linked to in the tei-config directory. It doesn't need write permissions for these directories. However, there are directories, which are used for caching and as temp directories.
- In EGEConstants.java, there are Strings, which define a data directory for the service. The service uses this directory for caching and also as a temporary directory. Currently this directory is set to be a home directory of a user. On my machine it was /root/ directory. Hence it used /root/.ege as its data directory.