The Zoo Computing Laboratory
Yale University Computer Science Department
Home Zoo Help Zoo Tools DSAC
Open Zoo Phone: 2-2169 Closed Zoo Phone: 2-2266
SearchWiki:

Creating your web page

To setup a directory for your web documents, type the following three commands:

1. mkdir ~/public_html
This creates the subdirectory in your home directory in which the web server will look for your documents.

2. chmod a+x ~/public_html
This sets the permissions on that directory so the web server can read the documents in it.

3. chmod a+x ~
This is necessary so that files in your account will be executable.

Make sure that any files you put in ~/public_html are world-readable. You can set this by typing chmod a+r ~/public_html/filename for each file filename or chmod -R a+r ~/public_html to make all files in ~/public_html world-readable. You'll also want to make sure that all the parent directories of your web documents are world-searchable, via chmod a+x. Your quota on the Zoo file server is also the limit for the size of your web space.

The URL https://zoo.cs.yale.edu/~NetID/ points to the file index.html in your html directory.

See the Yale Webmaster's Web authoring resources and the Yale Center for Advanced Instructional Media for more tips on web publishing.
Edit - History - Printable View - Upload - Admin - Group Admin - Edit Sidebar - Wiki Admin - Recent Changes - WikiHelp - SearchWiki
Built using PmWiki
Page last modified on September 10, 2004, at 05:20 PM