This site requires JavaScript to be enabled

Notifications

Personal Web Pages

93 views

3.0 - Updated on 06/18/2021 by Noyes, Christopher

2.0 - Authored on 08/13/2019 by Frederick, Jon

Overview

This document is intended for users in the Khoury community to describe how they can create their own personal home pages.

For personal profiles and bio pages on the Khoury website (for Instructors/Professors/Staff), please reach out to marketing.

We have our web server set up so that you can publish documents via the Web from your home directory. These pages will be served out to anyone on the Internet. It is likely that they will be found by web crawlers for search engines like Google, so be sure to only include information on these pages that you would like to be made public.

Connecting to a Linux Machine

Personal home pages can be modified from one of the various Linux environments that Khoury College offers.  The instructions below assume that you have reviewed the following KB article and are currently connected to a Linux machine with your Khoury account: 

Linux at Khoury

Creating And Serving A Home Page

  1. Once connected to a Khoury Linux machine, either open up terminal or file browser.
  2. Create the directory ~/.www (also found as /home/username/.www, where username is your Khoury username).
  3. You must make sure that this directory has world read and search permissions, and that your home directory has least world search perms. (run: chmod 711 ~/.www;chmod a+x ~ - if you are uncertain).
  4. Create a file in that directory called index.html. This file should be in HTML format. This document will be the first page remote users would normally access to enter your personal web tree.
  5. This document should now be available to you via the Web at the URL:http://www.khoury.northeastern.edu/home/username/index.html where username is replaced with your Khoury login name.

These URLs do not contain the .www that is part of the real filename (such as /.www/index.html). It is a common mistake to confuse the real location of your HTML documents and the virtual URL that is used to access them. The http server maps the 'top' of your tree into your /.www directory of your home directory automatically, so you should never include the .www in your URLs. Primarily, this is intended a security measure - only files you specifically place into your physical ~/.www are available via the web.

You can place any other html documents and certain other types of files, including images and sound files, into your ~/.www directory to make them available on the Web. One thing you should be aware of is how filenames are used to determine the file types. They are primarily recognized by the file suffixes. (For instance, a file whose name ends in .html or .htm is served as an HTML document, while a file whose name ends in .bin is served as an arbitrary binary file for download.)