This website is served by two computers: pt1.apo.nmsu.edu (the SDSS 20-inch observer's workstation) and www.jhu.edu, the JHU campus web server. Files are copied at irregular intervals from pt1 to JHU.Edits are made in pt1.apo.nmsu.edu:/home/www/public_html by people with pt1 accounts who also have www group permissions. This directory is the master source for the web documentation, but is not the directory that's served. Your edits can be tested by looking at http://pt1.apo.nmsu.edu/~www before going live. To edit, change your group with this command:
then edit the files in pt1:/home/www/public_html. When you're finished, become root and upload the files to the live directory:pt1% newgrp www
pt1% su (become root)
pt1# cd /home/www
pt1# ./upload
pt1# cd /home/httpd
pt1# chown -R www.www html
Then send mail to Alan Uomoto, who will update the JHU server.
References to files on the local servers should be relative, not absolute. That is, no references (href) to pt1.apo.nmsu.edu or www.jhu.edu should be made (except for the video capture at http://pt1.apo.nmsu.edu/2.5mPicture/index.html, which we don't want to send to JHU constantly). This avoids "breaking" the system if one server is not available.
HOME