[952] | 1 | # this file should be placed in the same directory as your library
|
---|
[8115] | 2 | # executable file. it defines parameters that are particular to a
|
---|
| 3 | # given site, and therefore should be edited to suit your site.
|
---|
[952] | 4 |
|
---|
| 5 | # points to the GSDLHOME directory
|
---|
[18334] | 6 | # This must be set, and must point to the top level Greenstone directory
|
---|
| 7 | # (usually gsdl or Greenstone2)
|
---|
[16468] | 8 | gsdlhome **GSDLHOME**
|
---|
[952] | 9 |
|
---|
| 10 | # this is the http address of GSDLHOME
|
---|
[18699] | 11 | # if your webserver's DocumentRoot is set to $GSDLHOME
|
---|
| 12 | # then comment out httpprefix
|
---|
| 13 | httpprefix /greenstone
|
---|
[952] | 14 |
|
---|
| 15 | # this is the http address of the directory which
|
---|
| 16 | # contains the images for the interface.
|
---|
[18699] | 17 | # if your webserver's DocumentRoot is set to $GSDLHOME
|
---|
[1135] | 18 | # then httpimg will be /images
|
---|
[18334] | 19 | # if you have set httpprefix above, then you will need to modify httpimg to
|
---|
| 20 | # match that. e.g. if httpprefix is /gsdl, then httpimg should be /gsdl/images
|
---|
[18699] | 21 | httpimg /greenstone/images
|
---|
[952] | 22 |
|
---|
[18334] | 23 | # this should contain the http address of this cgi script. This
|
---|
[952] | 24 | # is not needed if the http server sets the environment variable
|
---|
| 25 | # SCRIPT_NAME
|
---|
[18334] | 26 | # Generally this is not needed with Apache
|
---|
[18699] | 27 | #gwcgi /greenstone/cgi-bin/library.cgi
|
---|
[952] | 28 |
|
---|
| 29 | # maxrequests is the most requests a fastcgi process
|
---|
| 30 | # will serve before it exits. This can be set to a
|
---|
| 31 | # low figure (like 1) while debugging and then set
|
---|
| 32 | # to a high figure (like 10000) when everything is
|
---|
| 33 | # working well.
|
---|
[18334] | 34 | # Only applies if you are using fastcgi
|
---|
[4143] | 35 | maxrequests 10000
|
---|
[16389] | 36 |
|
---|
[18334] | 37 | # Remote Greenstone Options
|
---|
[16508] | 38 |
|
---|
[16510] | 39 | # If Perl is not already on your PATH, set the following to the
|
---|
| 40 | # full path of the perl bin directory (Perl's parent folder)
|
---|
| 41 | # and it will be prepended to the PATH.
|
---|
[16508] | 42 | #perlpath /usr/bin
|
---|
[18334] | 43 |
|
---|
| 44 | # Options for FLI
|
---|
| 45 |
|
---|
| 46 | # If using Greenstone's GLIServer to run the Fedora Librarian
|
---|
| 47 | # Interface (FLI), then you need to set fedora version and fedora home
|
---|
| 48 | # variables, either below, or as environment variables.
|
---|
| 49 | # FEDORA_VERSION is the major version number of Fedora and
|
---|
| 50 | # FEDORA_HOME is the full path to your Fedora installation.
|
---|
| 51 | # Setting fedorahome and fedoraversion here will over-ride the
|
---|
| 52 | # FEDORA_HOME and FEDORA_VERSION environment variables.
|
---|
| 53 | #fedorahome /full/path/to/fedora
|
---|
| 54 | #fedoraversion 3
|
---|
| 55 |
|
---|
| 56 | # If using Greenstone's GLIServer to run the Fedora Librarian
|
---|
| 57 | # Interface (FLI), then you need to set the full path to Java either below
|
---|
| 58 | # or as the JAVA_HOME environment variable.
|
---|
| 59 | # Setting javahome here will over-ride the JAVA_HOME environment variable.
|
---|
| 60 | #javahome /full/path/to/j2sdk1.4-or-higher
|
---|
| 61 |
|
---|