Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Enabling Your Student Web Space

After logging in to one of the linux.gl servers, run /afs/umbc.edu/common/bin/enable_student_web_space.sh. This will create a webspace for you as well as a symbolic link to that webspace in your home directory. Your new web space will be reachable at "swe.umbc.edu/~username".

Code Block
themeEmacs
languagetext
[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

LanguageFile ExtensionHow To Use
PHP 5.4.phpAny content in a file ending in .php will be interpreted by PHP
Perl 5.16.cgiBegin the file with "#!/usr/bin/perl". All content below that line will be interpreted by Perl
Python 2.7.5.cgiBegin the file with "#!/usr/bin/python". All content below that line will be interpreted by Python
Ruby 2.0.cgiBegin 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.

Disabling Your Student Web Space

After logging in to one of the linux.gl servers, run /afs/umbc.edu/common/bin/disable_student_web_space.sh. This will remove web access to your webspace. It will not remove any of your files.

...

themeEmacs
languagebash

...


Browse All Articles

Page Tree
root@self