The folder Sites in your home directory (hey, that’s Apple’s idea of an intuitive name, not mine!) serves as a public web site. Any files you put there will be accessible over the web.
So, to put files there, you’d place them (or a copy of them) in the Sites folder in your home directory on anulap.
To access them over the web, you’d visit the following URL in a web browser: http://atiniui.nhm.org/~userid where userid is your short login name. NOTE that the server name for web access is atiniui.nhm.org, not anulap.nhm.org. Atiniui is still our web server and will grab the files from anulap to serve them over the web.
It helps to think of this as two different ways to “see” exactly the same files:
As an example, the image on the left is what one might see in one’s Finder file browser, after two image files (6510.jpg and 6515.jpg) were put into the Sites folder in a home directory. The image on the right shows how visiting that over the web would look. In this case dean is the userid for the account.
| |
| Mac Finder view of files, accessed by logging onto a Mac | Web browser view of files, accessed by visiting http://atiniui.nhm.org/~dean |
The Mac Finder file view is accessed from your home account by logging onto a Mac and manipulating files there. The Web browser view is accessed from anywhere using a web browser, using the URL http://atiniui.nhm.org/~userid where userid is your short login name.
The web server (atiniui.nhm.org) actually reaches behind itself to the anulap.nhm.org file server to grab the files from your Sites directory and serve them through the web server. That way we only maintain one web server, but let you put files on your home directory on anulap that you can make accessible via the web server, atiniui.
A few details: