Creating Webpages on Ruby or Isis

Creating web pages on Isis

To create HTML documents on Isis, please consult this ITS helpdoc.

Creating web pages on Ruby

Individual HTML documents served by Ruby must reside in the directory named public_html inside your home directory. The files you place there will have a URL of "ils.unc.edu/~onyen/". To get the files to your Ruby directory, use the Secure File Transfer Client for PC or a program such as Fetch for Mac.

Before you or anyone else can access your files through a Web browser, you must first change the access permissions for your root folder on Ruby. Here are two options for doing this...

Using commands in the Linux shell:

1. Navigate to your root directory (/export/home/u/username/). This is where you start when you first log in. You could also type cd to get there.

2. Type chmod 711 . (chmod space 711 space period). Do not forget the space and the period after the 711.

Using the SSH graphical user interface (SSH Secure File Transfer):

1. Navigate to your root directory (/export/home/u/username/). This is where you start when you first log in. You could also select the home icon.Home icon

2. Hit the up button.Up arrow button

3. Find your folder in the list.

4. Right click on your folder and select Properties .

5. Make sure your Permissions are set like this:

Permissions window

Failure to do this will yield a 403 error when trying to view your Web pages. Once the permissions are properly set, you can ftp files to your public_html directory for sharing on the web.

Learning HTML, CSS, XML, XSL, XHTML, PHP

The World Wide Web Consortium (also known as the W3C) has the specifications for these languages and more. They also have online Web tutorials to get you started. If you're just getting started making Web pages, visit the HTML Tutorial. More advanced Web developers should browse the list to find what they need. There are also many useful books in the SILS Lab that can be checked out with your OneCard. O'Reilly's Web Design in a Nutshell is a handy reference for the initiated and a good place to start for newbies.