How to I create my [CADE/PCE/Engineering] website?

With a CADE account, you can create a personal web page/site hosted from your home directory and viewable at

To get started, log in to a CADE Linux, Mac OS or Windows machine (or access it remotely) and create a directory named public_html (or .public_html, either works fine) in your home directory (/home/username/). Place any site files (php, html, etc.) or any file you want accessible via your web page for download in that directory.

See the other FAQ’s on permissions and services for more details on those.

Can I get a MySQL database?

Yes, we have MySQL ( available for student use.

To request a database, send an e-mail to and let us know you need one. We will create it and likely place a file in your home directory with the database name and your login credentials.

If you place website files in your .public_html directory, you can make calls to the db, and thus access it from anywhere via

How does one fix a “Firefox is already running” error on a Linux machine?

When logged in to a Linux lab machine or compute server, you may get the following error when opening Firefox:
“Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.”

This may occur even though no evidence of Firefox running can be found.
To remedy this, open a Terminal and run the command: foxlock

It’s a script we wrote that will remove the necessary files from your .mozilla folder and allow you to open Firefox once again.

What is my web address?

Your web address is: where username is your CADE login name.

How do I lock files in my public_html directory?

The best way of doing this is to use a combination of a .htaccess file and a .htpasswd in the directory you would like to lock.

An easy way to generate these 2 files can be found here.

An example .htaccess file:

AuthName “Restricted Stuff”
AuthType Basic
AuthUserFile /home/YOUR_USERNAME/Path to .htpasswd file

require valid-user
An example .htpasswd file:



Note that you shouldn’t have the .htpasswd file in a web accessible folder.

Once you have made both files you need to change the permissions using:

chmod 655 .htaccess .htpasswd

Does the CADE allow CGI scripts?

Not anymore. The usage dwindled, and they pose a security risk.

What permissions should I set my .public_html Directory to?

Your .public_html directory must be world readable. Run ‘chmod 755 ~/.public_html’ to achive this.

Note:  If you set up your site in public_html, instead of .public_html (notice the ‘ . ‘), change the command above accordingly.

What permissions should I set my web pages to?

All of your web pages must be world readable. Run ‘chmod 644 *.html’ inside your .public_html directory or run ‘chmod -R 644 ~/.public_html/*.html’.

What web services does CADE offer?

We offer basic services such as: php, perl, and html.

For more information on what these services are, read the following:

php info
perl info
html info

We allow Server Side Includes (filenames should end in .shtml) and allow PHP (filenames should end in .php).

For services beyond these, please contact us.