Webspace On Storage01

From ITwiki

Revision as of 12:16, 26 January 2013 by Mforbes (Talk | contribs)
Jump to: navigation, search

Contents

Highlights

  • Stevens undergraduates have 250 MB of space for their files and web pages on Stevens file service named Storage01, faculty have 500 MB.
  • Graduate students may request individual file and personal web space, if needed. Go to Web for Students. Click on Graduate Student Network Disk Storage Request under Student Records. That will submit your request. 250 Mbs of space will be set up for a graduate student's individual files and personal web pages.
  • Departments and campus groups may request separate web group space on Storage01. Details on requesting and using web group space is covered in this document.
  • You can back up files on your PC, notebook, or other disk space into your individual file space. You may also use your file space to publish personal web pages.
  • Your Storage01 space comes ready-to-use.
  • Available web services are shown at the end of this document.
  • Access to Storage01 is authenticated with your Windows Campus domain username and password.
  • To access, map your storage01 directory as a mapped network drive.
  • FTP access is available for individual file space and personal web pages. FTP access is not available for group (web group) space.

Access via Map Network Drive

This document covers how to map Storage01 as a network drive. Mapping to storage01 is the recommended method of managing your files on the Storage01 file service. NOTE: To map storage01 from off campus, you must use a VPN connection to Stevens.

Access via FTP

FTP access to storage01 is available only from On Campus and only to your individual file and personal web space. FTP access is not available for web group directories.

All Personal storage01 Accounts are Now Web Ready

As of Spring 2004, all personal accounts on storage01 have a public_html directory for your personal web pages. No setup is required. You can use that directory immediately and skip the steps below (unless you accidentally removed that directory or changed the permissions already set up for you). Files you place in the public_html directory will be immediately viewable on the Internet. Be careful not to place files you want to keep private in the public_html directory!

Enabling directory indexing with .htaccess

Auto-indexing of files is turned off for security, which means that a directory with no index.html file will display a Forbidden message instead of listing all the available files. If you want to enable auto-indexing, you need to create a file called .htaccess that contains the text

Options +Indexes

That will enable auto-indexing for whatever directory the file is placed in, and all of that directory's sub-directories.

Depending on your operating system, it can be tricky to create a text file with the name .htaccess, but there are a few workarounds. Here is a ZIP file containing the necessary .htaccess file.

Windows

In Windows you can't rename an existing file to .htaccess, so you must create it in Notepad with the correct name. To prevent Notepad from adding ".txt" at the end of the filename (which may be hidden by Windows, but still there), you must select the All Files option instead of "Text Documents" when saving.

Mac OS X

In Mac OS X, even if you successfully create the file, it will be hidden simply because it begins with a dot. Furthermore, the TextEdit application seems to be incapable of creating a file without appending ".txt" to the end, despite the option in the Save dialog. Therefore, we only recommend using our ZIP file. Place it in your public_html directory (or a subdirectory therein), extract it by double clicking (there will be no visible results, since the file will be hidden), and then delete the ZIP file.

Web Site

Now any files that you put in your public_html directory will be world-readable and available on the web at http://personal.stevens.edu/~username. For example, if you are Mortimer Snerd and your Windows Campus Domain username is msnerd, your URL will be http://personal.stevens.edu/~msnerd.

How to Request and Access web group Space

Academic/Administrative Departments and Student Organizations may request web space by completing the Web Space Request Form located at: http://www.stevens.edu/sit/it/forms/index.cfm

Once the completed form has been received by the Information Technology Helpdesk, the web group will be created and the requester will be notified.

Web group space is for active content. Please maintain your group's web pages so the information is current. As a member of a web group, you will connect to the web group's directory in a slightly different way than to your individual directory on storage01. However, you will still use your own Campus Domain username and password.

The URL of your group's website will be http://www.stevens.edu/groupname where groupname is the name of your web group. E.g, for a web group named w3consult, the URL is http://www.stevens.edu/consult.

Web groups are also hosted on the server called storage01. You can access the group's web space by Mapping A Network Drive to your group;s folder name: \\storage01\w3groupname$. (Substitute your web group's name for the group name.)

Be sure to include the dollar sign after the group name. Your username and password will be your Campus Domain username and password. You may copy files from your computer using Windows Copy.

  • There is no FTP access to web group directories. You must map the drive.
  • Do not create a public_html directory. The web group directory is ready to use.
  • If the group is for streaming media, see our instructions on How to write Streaming URLs.

Web Services Supported on storage01

Service Personal Web Group Web
SSI (server-side includes)

No executable code, files must be .shtm or .shtml

YES YES
CGI-BIN NO YES
PHP (requires CGI-BIN) NO YES
Perl (requires CGI-BIN) NO YES
Java applet/script YES YES
ASP/JSP NO NO
Flash YES YES
MySQL Database NO YES
SSL NO *Under appropriate circumstances
  • For consideration of .htaccess or SSL for your web group's space, please contact webmaster@stevens.edu explaining exactly why this web service is needed for your web group's site.

Recreate public_html

If You Accidentally Delete Your public_html directory and/or Change Permissions on Your storage01 Account

Make sure that Windows' Simple File Sharing is disabled.

  1. Go to Start -> Settings -> Control Panel -> Folder Options -> View.
  2. Scroll to the bottom of Advanced settings.
  3. Uncheck Use simple file sharing.

If you accidentally deleted the directory called public_html you must recreate it at the root of your personal file space.

  1. Create a diretcory called public_html. The directory for all your web pages must have that exact name. This is the directory where you will put all files that you wish people to view on the Internet. Caution: Any personal files that you do not wish to be viewed by others should be placed outside the directory called public_html. (All files located inside the public_html directory will be literally world-viewable.)
  2. Right click on the directory public_html. Select Properties from the drop-down menu and then click on the Security tab.
  3. Highlight the Everyone group. In the Allow column, check List Folder Contents and Read, and then click OK.
Personal tools