Websites and pages
With a CADE account, you can create a personal web page/site hosted from your home directory and viewable at www.eng.utah.edu/~username.
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.
We offer basic services such as: php, perl, and html.
For more information on what these services are, read the following:
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.
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’.
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.
CADE offers a public tomcat server. Please send an email to email@example.com and we will gladly set it up for you.
Please note that the files will not work from within your public_html directory.
Not anymore. The usage dwindled, and they pose a security risk.
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”
AuthUserFile /home/YOUR_USERNAME/Path to .htpasswd file
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
Your web address is: http://www.eng.utah.edu/~username/ where username is your CADE login name.
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.
Yes, we have MySQL (mysql.eng.utah.edu) available for student use.
To request a database, send an e-mail to firstname.lastname@example.org 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.
The databases are only accessible directly from the Linux machines in CADE (‘mysql -u username -h mysql -p’), although if there is a need, we can open them up to the Windows machines. If you place website files in your .public_html directory, you can make calls to the db, and thus access it from anywhere via www.eng.utah.edu/~username.