A Guide to setting up a Public Home Page on Pegasus

Step-by-step instructions

  1. At the pegasus command prompt type: homepagesetup
    This will call a script which will do most of the setup for you. Read the informational messages and it will tell you exactly what it is doing.
  2. go into the public_html directory and edit the home page (called home.html) to your liking.
    type cd public_html to enter the public_html directory from your home directory.
    The editor used by Pine is called pico. Type pico home.html to edit your home page once you are in the public_html directory.
  3. type: lynx http://pegasus.cc.ucf.edu/~USERID/ with your userid in place of USERID to make sure that it works. Or, in Mosaic and derivitives, select "open url" and enter http://pegasus.cc.ucf.edu/~USERID/.

Troubleshooting and Common Questions

Why does everything have to be in the public_html directory?
Actually, it doesn't, but public_html is where the server will look when it is given the ~USERID path statement.
What does this .htaccess file do?
That is the file that the server looks for to allow people to get documents from a directory. By default, access to a directory is restricted unless there is a .htaccess file to override that setting.
Note: If you create a subdirectory under public_html, you will need to copy the .htaccess file into that directory.
Why do I get a page saying "This document has moved here" with a link to my home page?
That is because you left off the closing slash after your userid. Try it again with the slash.
I have added other pages, but I keep getting "403 Forbidden" errors?
or
Why aren't my images being loaded?
Whenever you add files, you will probably have to change the rights so that people can access the files. To do this, go into your public_html directory and do a "chmod a+r *". This will grant read rights for everyone (a+r means "all add read") to all the normal files (the "*"). Try accessing the file again and see if it works.

Back to the Pegasus home page