Uploading Pages to the Lehigh Web
Once you have created web pages, using whatever editing tools you choose,
you must 'upload' your pages to your web space for them to appear on the
Web.
What you will need:
- A web space on our server. This can be on your account, or your
department's,
group's, or class's. Web space lives in the 'AFS space' controlled by a
AFS/Network Server account and password. If you don't have an account,
you need to fill out an Account Request form in Client Services; once you
have the account, you can set up your web space by going
to the web page http://www.lehigh.edu/account (logging on with the
account's userid and password) and choosing W3setup. (Note:
your web space is NOT the same as your space on the HOME server or LAN.)
- Web pages or documents to put up.
- Documents should be in the proper format.
The default format for Web pages and documents is HTML (Hypertext Markup
Language), and it is best to use HTML documents.
While text documents and documents saved an particular program format (such
as Powerpoint or Word) can be put on the web, the user will have to have
a copy of the program or viewer to view them. Many programs allow you to
save documents as HTML, though you may want to edit the resulting files.
- Pages, files, or documents cannot be in violation of Lehigh's Computer Use policy
(covering offensive, obscene, or defamatory material, as well as copyright
law).
- A way to _securely_ upload your files: SSH Secure File Transfer Client,
another secure file transfer program,
or
Netscape Composer. One or more of these programs are available
on all the public sites.
Once you have converted your files to HTML format (with the correct
.htm or .html file extension), you will want to upload the files to your
webspace.
If you are using SSH Secure File Transfer Client or a similar
program:
- Open a connection to: ns.cc.lehigh.edu
- Login using the userid and password of the account you want to upload
the document/page files to.
- If necessary, change the local directory to the one in with the
document/page
files in it.
- Change directories to webspace
OR
If you don't have a webspace directory on NS, change directories to
/ahome/userid/public/www-data
where userid is the userid of the account. *
- Select ASCII mode for the transfer if your files are in HTML.
If your files are not HTML, be sure to select BINARY mode for the
transfer.
- Transfer your files up to the webspace directory.
- Close the connection.
If you are using Netscape Composer (note: this
will only work with HTML documents!) you will:
- Open the page or document in Composer.
- Select Publish.
- In the Upload files to this location: box, type
https://www.lehigh.edu/~userid/
where userid is the userid of the account, and
directory is the name of any subdirectory you want the file to be in.*
- Also fill in the userid and password in the Username and
Password boxes.
- Click on OK to upload the file.
* If you want to upload your images to a subdirectory of your web space,
put the subdirectory name at the end of the address.
Once you have your page/document files up on the Web, you can access
them with the URL:
http://www.lehigh.edu/~userid/filename
where userid is the userid of the account you put
it in, and filename is the filename and extension.
To have the file linked from another page, use this HTML tag for the
link:
<A HREF="/~userid/filename">[Descriptive
Text]</A>
So, the HTML for a menu of documents would look like this:
<UL>
<LI><A HREF="/~xxxx/page1.html">Another
page</A>
<LI><A HREF="/~xxxx/page1.html">Another
page</A>
<LI><A HREF="/~xxxx/document1.wp7">Wordperfect
document</A>
</UL>
MAINTAINER
jahb@lehigh.edu
12/15/00