Creating Web Pages in your Account

///Creating Web Pages in your Account
Creating Web Pages in your Account 2017-11-15T18:15:35+00:00

Creating Web Pages in your Account

Personal Webpages

All MCECS accounts by default have a webpage that is stored in their profile.  This page is hosted on web.cecs.pdx.edu which is the webserver for all MCECS users pages.  The URL that these pages are given is:

http://web.cecs.pdx.edu/~yourUserName

Maseeh College Faculty/Staff/Students who have activated their accounts will automatically get access to web.cecs.pdx.edu

For your convenience the following urls will be redirected to web.cecs.pdx.edu/~yourUserName:

  • http://www.cee.pdx.edu/~yourUserName
  • http://www.cs.pdx.edu/~yourUserName
  • http://www.ece.pdx.edu/~yourUserName
  • http://www.mme.pdx.edu/~yourUserName

Accessing web.cecs.pdx.edu from an Maseeh College Windows machine

Use Windows Explorer, Network Neighborhood, My Network Places, or My Computer (depending on your preference and your operating system). Connect to:

\\unix\web\public_html

This directory path points to the UNIX public_html directory on web.cecs.pdx.edu.

Note: this will only work if the username you are connecting to on web.cecs.pdx.edu is the same as the one you are logged in as in windows.

Accessing web.cecs.pdx.edu via ftp or a ssh client

NOTE: this is meant for software like TeraTerm or PuTTY

Connect to websftp.cecs.pdx.edu and use your Linux password (if it is different from your Windows password).  Html files go in your /home/$USER/web/public_html directory.

More info on remote access to Linux accounts can be found here.

Creating a Personal Webpage

Personal web pages are available to all Maseeh College users.  It requires a Linux account.  Even users who think they only have a Windows account actually have a shadow Linux account.

All new Linux accounts come with a public_html directory pre-made (with a default index.html file).  Any web pages you place under this directory are available to the web server. The path is ~/public_html and is accessible from windows as S:\public_html

You can use any text editor or the web design tool of your choice to create a web page.

You will need to take care to ensure that the file and directory permissions of the web pages you create are open enough for the web server to display them.  (This is made difficult by our default file permissions which are designed to protect your files and directories from prying eyes.)

You can upload your web pages to:

websftp.cecs.pdx.edu

(the system will access either your unix or windows password) or, if you have access to other CAT supported Linux machines, you can copy them straight into the public_html directory from any of those systems.  Use sftp or scp for remote file transfers.

You can also upload your web pages using the S: drive, see  the Documentation on the S: and U: drives for more details.

Web pages you create under your public_html directory will be visible under the URL:

http://web.cecs.pdx.edu/~username

If you find you do not have a public_html directory, you can create it yourself.  In Linux, this implies:

  • Create a public_html directory in your “solaris” homedir.
    Example: mkdir /home/username/web/public_html
  • Create a symbolic link from there to your Linux homedir.
    Example: ln -s /home/username/web/public_html /home/username/ubuntu/public_html
  • Create a symbolic link from there to your Linux homedir.
    Example: ln -s /home/username/web/public_html /home/username/solaris/public_html
  • Create the web pages you want to display to the world in the public_html directory.
    Place them in your public_html directory.
  • index.html will be the home page.
  • Make sure permissions are set correctly. All files you wish to make available via the www must be world readable, and all directories those files reside in must be world executable.
    Examples:

chmod 755 ~/public_html

chmod 644 ~/public_html/index.html

Do the Cat run web servers have php?

Yes, our webserver is currently running php version 7 with register_globals turned off.