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