URL to Filename Mapping
User directories in a shared environment
Web documents for each user are kept in the user's home directory, in a directory typically named public_html. As an example, for the user jharvard whose home directory is /home/courses/j/h/jharvard
URI | https://cs12students.dce.harvard.edu/~jharvard/index.html |
File | /home/courses/j/h/jharvard/public_html/index.html |
Document Root
The Web documents are typically kept under a single directory, traditionally named htdocs. The full path to this directory is called the "document root" of the Web server, for example, /www/htdocs.
URI | https://www.unicorns-r-us.com/jobs/index.html |
File | /www/unicorns-r-us.com//jobs/index.html |