Changes between Version 1 and Version 2 of DODS_UserSetup


Ignore:
Timestamp:
Jan 28, 2009, 10:36:44 AM (13 years ago)
Author:
jmckenna
Comment:

--

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 =
    22
    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:
     3When 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:
    44{{{
    55# DODS client configuation file. See the DODS
     
    3232  CONFIG DODS_CONFIG "/home/warmerda/.dodsrc"
    3333}}}
    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.
     34Special 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.
    3535
    3636Further information on the .dodsrc can be found in the [DODS/OPeNDAP Users Guide], particularly [Section A3].