Changes between Version 1 and Version 2 of DODS_UserSetup
- Timestamp:
- Jan 28, 2009, 10:36:44 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DODS_UserSetup
v1 v2 1 = How to setup a user/web account for use with DODS enabled MapServer =1 = How to setup a user/web account for use with DODS enabled !MapServer = 2 2 3 When applications linked against the DODS support library (DAP) they attempt to read a configuration file from ~/.dodsrc. To optimize performance of a MapServer based DODS application it is necessary for this file to be appropriate configured. A simple sample .dodsrc might look like this:3 When applications linked against the DODS support library (DAP) they attempt to read a configuration file from ~/.dodsrc. To optimize performance of a !MapServer based DODS application it is necessary for this file to be appropriate configured. A simple sample .dodsrc might look like this: 4 4 {{{ 5 5 # DODS client configuation file. See the DODS … … 32 32 CONFIG DODS_CONFIG "/home/warmerda/.dodsrc" 33 33 }}} 34 Special issues with the web user are that the cache needs to be readable and writeable by MapServer. For instance, if httpd runs at "nobody", the home directory might be set to something unusual like / (see the /etc/passwd file). In this case a copy of the .dodsrc would need to be in /, and the .dods_cache would need to be somewhere that nobody can write. Perhaps below the directory already being used for temp web files forMapServer. The dods cache location can be controlled with the CACHE_ROOT variable in the .dodsrc.34 Special issues with the web user are that the cache needs to be readable and writeable by !MapServer. For instance, if httpd runs at "nobody", the home directory might be set to something unusual like / (see the /etc/passwd file). In this case a copy of the .dodsrc would need to be in /, and the .dods_cache would need to be somewhere that nobody can write. Perhaps below the directory already being used for temp web files for !MapServer. The dods cache location can be controlled with the CACHE_ROOT variable in the .dodsrc. 35 35 36 36 Further information on the .dodsrc can be found in the [DODS/OPeNDAP Users Guide], particularly [Section A3].