|
| site.properties | Discussion Forum |
| IMF Developer's Guide » site.properties |
This page is for IMF application administrators only. Once you create an IMF site, ask your administrator to set up an entry in the site.properties file for your site.
If the site is named with an entry in the site.properties file on the IMF server, the site can be called with the site=sitename argument instead of pointing it to an XML document in the command line. This makes for a much neater URL and hides the configuration document from the user.
For example, if you have a site named basemap that has its site configuration file at http://yourserver.com/basemap/site.xml, and you would prefer not to have the location of the XML file required in the URL, you can put the following in your site.properties file, then access your site like http://yourserver.com/imf/imf.jsp?site=basemap.
# site.properties # # Specifies the location of site configuration files for known # applications so that the application can be called using # http://yourserver/imf/imf.jsp?site=sitename # # format: site_name = url to site configuration file basemap = http://yourserver.com/basemap/site.xml
The site configuration files can exist on the IMF server, or on another server that is accessible to the IMF server using an HTTP request.