Project

General

Profile

Management of /minos/data/web mapping into minos.fnal.gov

Files under /minos/data/web are served under https://minos.fnal.gov/computing/dh by the central web servers.
This is not automatic, a few steps must be followed for each new directory.

The /web/sites/minos.fnal.gov step must be performed by someone authorized for access.

For illustration, add a test directory under /minos/data/computing/dh

NEW="test"
MDW=/minos/data/web
MDN=${MDW}/computing/dh/${NEW}
WSD=/web/sites/minos.fnal.gov/htdocs/computing/dh
URL=https://minos.fnal.gov/computing/dh/${NEW}

  • Populate the new directory
       mkdir -p ${MDN}
       echo "test directory" > /minos/data/web/computing/dh/${NEW}/README.txt
    
  • Add the needed .htaccess
   cp  ${MDW}/.htaccess ${MDN}/.htaccess
  • Add the symlink for the central web server
   ln -s ../../.storage/computing/dh/${NEW} ${WSD}/${NEW}
  • Test
   curl ${URL}/README.txt