HAL-PC
Navigation menu
  About HALNet | Join HALNet | User Support | Web Based E-Mail | Staff | User Home Pages
 
 
HAL-PC Headquarters BuildingPublishing Your Home Page

So. . .you've built the ultimate home page and you want to publish it in your HALNet account so the world will fall at your feet? It's easy. Follow these step by step instructions and you're there!

Before you try to publish your home page, take a quick look at your files to make sure they will work properly when uploaded:

  1. The main page of your group must be named ‘index.html’ in order for the server to find it when your URL is called. If you are using a 16-bit program to write and name your pages, you will need to rename them with ‘.html’ extensions after you upload them (more on this later).

  2. All graphic files must be saved in .gif or .jpg format. Please remember, in this as in all things, that UNIX is case sensitive. If you have a file named foo.GIF and reference it in your page as foo.gif, users will not see it.

  3. If you are using an HTML editor, make sure you have changed all local file references to UNIX system references. Many editors will insert a reference that looks like this:

    "file:///e|/halnet/netscape/navigator/bookmark.htm"

    This must be renamed, most likely to:

    "bookmark.html"
Now that the files are ready, you must log into HALNet via FTP, upload the files to your account and perhaps set the file permissions.

Graphical Clients

  1. Open your ftp client and set ‘host name’ to ‘users.hal-pc.org’, and the userid and password to your own.

  2. Set the local system directory to the directory on your hard drive where your home page files are stored.

  3. Set the remote system directory to your public_html directory. If you don't already have a public_html directory, create one (usually by clicking a button that says 'mkdir' on a graphical client or by typing 'mkdir public_html' from a command line client).

  4. Select all the .html and graphic files for your home page on the local system side and send them to the remote system side.

  5. Rename files as necessary (.htm files to .html files, etc.)

  6. Test your home page via your WWW browser. Your home page URL will be:

    http://www.hal-pc.org/~userid
    where the 'userid' is your login name. If you receive an error message stating that you do not have permission to view your page, check to make SURE that your files are in the proper directory and that your main page is named 'index.html'. If you have met both these conditions, you probably need to reset the permissions on your public_html directory. This can be done via ftp, but the procedure varies from client to client.

Make sure you are in the public_html directory in the remote system directory. Try right clicking on the client window to see if you can activate a pop-up window with 'FTP Commands' or 'SITE' as one of the options. If this does not work, check the documentation for your particular client to see how to activate the 'SITE' command. If 'SITE is an option, select it. If 'FTP Commands' is an option, select it and see if you can then select 'SITE' from the options.

The 'SITE' command should provide a dialog box in which you can type the following:

chmod 755 .
Be sure to include the '.' as that indicates the permissions are to be changed on the current directory.

Via Windows 95

If you are using WIN95, you can use the built-in text based ftp client.

  • From the 'START' menu, select 'RUN' and type in
    ftp www.hal-pc.org

  • At the first prompt, type in your HALNet userid. At the password prompt, type in your HALNet password. You will then be logged in and see the following prompt:
    >ftp"

  • Type in the following command:
    cd public_html [enter]
    You will now be logged into your public_html directory, where all your WWW files must be. If you have a directory tree for your web page (i.e. if you have your images in a separate directory) you must create it. From the command line type

    mkdir public_html

  • Send your files from your computer to the server by typing in the following commands:
    send <full path to files> [enter]

    a sample command might be:

    send c:\webfiles\index.html

  • NOTE: The default mode for transfer is ASCII. If you are sending image files, first type the command:
    binary [enter]
    then send the files as usual.

  • Test your page. If you cannot access it, you may need to reset your permissions. Make sure you are logged into your public_html directory on the server, then type:

    quote site chmod 755 . [enter]

    Don't forget to type the '.' It indicates the current directory is to be fixed. Try again to access your home page.

  • Log off with the command:
    bye [enter]

HAL-PC Home Page About HAL-PC About HALNet HAL-PC Member Services Other great stuff!