Enabling Your Student Web Space
After logging in to one of the linux.gl server run `/afs/umbc.edu/common/bin/enable_student_web_space.sh`. This will create a webspace for you as well as as symbolic link to that webspace in your home directory. Your new web space will be reachable at "swe.umbc.edu/~yourusername".
[erude1@linux2]$ /afs/umbc.edu/common/bin/enable_student_web_space.sh You don't seem to have a swe2016 folder. I'll make one. Ensuring the following student web directories are NOT globally readable: swe2016 Ensuring our web server has read access to the following student web directories: swe2016
Available Scripting Languages
Language | File Extension | How To Use |
---|---|---|
PHP 5.4 | .php | Any content in a file ending in .php will be interpreted by PHP |
Perl 5.16 | .cgi | Begin the file with "#!/usr/bin/perl". All content below that line will be interpreted by Perl |
Python 2.7.5 | .cgi | Begin the file with "#!/usr/bin/python". All content below that line will be interpreted by Python |
Ruby 2.0 | .cgi | Begin the file with "#!/usr/bin/ruby". All content below that line will be interpreted by Ruby |
Automatic Directory Indexes and Index Files
By default our web server will display whatever files and folders you place in your web directory. You will be able to browse your files using this automatic directory index. To change this behavior for a specific directory add an index.html, index.php, or index.cgi file to that directory. Directories with files like that in them will not generate automatic directory indexes. Instead they will display the content of your index file interpreted by php, cgi, or as html depending on the file extension used on your index file.